我想在我的背景中使用渐变和跨平台我想设置背景与供应商前缀:
background: -webkit-linear-gradient(red, blue);
background: -o-linear-gradient(red, blue);
background: -moz-linear-gradient(red, blue);
background: linear-gradient(red, blue);
Run Code Online (Sandbox Code Playgroud)
如何style.background在a上设置多个HTMLElement,使用Javascript来支持供应商前缀?
更新:我希望不使用jQuery或任何其他外部库.