有人知道是否可以重现这种效果吗?
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #666666));
您好,需要在低于3.6版本的火狐浏览器上生成渐变背景而不使用图片。
非常感谢您提前给出的任何建议。
有人知道是否可以重现这种效果吗?
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #666666));
您好,需要在低于3.6版本的火狐浏览器上生成渐变背景而不使用图片。
非常感谢您提前给出的任何建议。
看起来不是这样的:MDC参考文档
在Gecko 1.9.2中引入
(Firefox 3.6 / Fennec 1.0)
在文档中向下滚动,了解如何在其他浏览器上实现此功能。令人惊讶的是,IE自5.5版本以来就可以使用此功能(当然需要使用专有标签)。