【代码片段】渐变写法

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 */

 

posted @ 2012-05-04 10:59  KOJYA  阅读(164)  评论(0编辑  收藏  举报