欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

css-各浏览器下的背景色渐变_html/css_WEB-ITnose

程序员文章站 2022-05-05 20:13:24
...
.linear{           width:100%;           height:600px;           FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#b8c4cb,endColorStr=#f6f6f8); /*IE 6 7 8*/           background: -ms-linear-gradient(top, #fff, #0000ff); /* IE 10 */         background:-moz-linear-gradient(top,#b8c4cb,#f6f6f8);/*火狐*/           background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#b8c4cb), to(#f6f6f8));/*谷歌*/           background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#0000ff));      /* Safari 4-5, Chrome 1-9*/          background: -webkit-linear-gradient(top, #fff, #0000ff); /*Safari5.1 Chrome 10+*/         background: -o-linear-gradient(top, #fff, #0000ff); /*Opera 11.10+*/     }