/从左到右渐变/
.color{
background: -webkit-linear-gradient(left,#ff9000,#ff5000) no-repeat;/* Safari 5.1 - 6.0 /
background: -o-linear-gradient(right,#ff9000,#ff5000) no-repeat; / Opera 11.1 - 12.0 /
background: -moz-linear-gradient(right,#ff9000,#ff5000) no-repeat; / Firefox 3.6 - 15 /
background: linear-gradient(to right,#ff9000,#ff5000) no-repeat; / 标准的语法(必须放在最后) */
}
网友评论