【代码片段】渐变写法

filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3568CC', endColorstr='#FFFFFF', GradientType='0'); /* IE6,IE7 */

-ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3568CC', endColorstr='#FFFFFF',GradientType='0'); /* IE8 */

background-image:-moz-linear-gradient(top, #3568CC, #FFFFFF); /* 火狐FF3.6 */

background-image:-webkit-gradient(linear,left top, left bottom, color-stop(0, #3568CC),color-stop(1, #FFFFFF)); /* 谷歌Chrome */
原文地址:https://www.cnblogs.com/kojya/p/2482351.html