线性渐变

时间:2014-07-22 23:06:13   收藏:0   阅读:364
mamicode.com,码迷
1 background: -webkit-gradient(linear,left bottom,left top,color-stop(0,white),color-stop(0.5,#eee));
2 background: -webkit-linear-gradient(center bottom,white 0,#eee 50%);
3 background: -moz-linear-gradient(center bottom,white 0,#eee 50%);
4 background: -o-linear-gradient(bottom,white 0,#eee 50%);
5 background: -ms-linear-gradient(top,#fff 0,#eee 50%);
6 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=‘#ffffff‘,endColorstr=‘#eeeeee‘,GradientType=0);
7 background: linear-gradient(top,#fff 0,#eee 50%)
mamicode.com,码迷

 

线性渐变,码迷,mamicode.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!