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
时间: 2024-10-15 22:52:02