整理如下:
background-image: -moz-linear-gradient(top, #ff4f02, #8f2c00); /* Firefox */ background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ff4f02), color-stop(1, #800000)); /* Safiri 4+, Chrome */ filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4f02',endColorstr='#8f2c00'); /* IE 6 7 8 9 */ background: -ms-linear-gradient(top, #ff4f02, #8f2c00); /* IE 10 */
效果是酱紫的:
查看更多关于CSS在不同浏览器下实现颜色渐变效果_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did108137