css渐变背景色完美兼容解决方案
页面制作中大渐变背景色切图非常影响页面打开速度,下面给出解决渐变背景色css解决方案供参考
filter:progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#fcf8f3);
background: -ms-linear-gradient(top, #ffffff, #fcf8f3);
background: -moz-linear-gradient(top, #ffffff,#fcf8f3);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff),to(#fcf8f3));
background: -webkit-linear-gradient(top, #ffffff,#fcf8f3);
background: -o-linear-gradient(top, #ffffff,#fcf8f3);