Get the App
SLTechnology News&Howtos  ›  Development  › 

How to change the background color under css browser

Shulou Source: shulou.com Published: 2022-06-03 13:45:40 10月25日 Update

In this issue, Xiaobian will bring you about how to make the background color gradient under the CSS browser. The article is rich in content and analyzes and narrates from a professional perspective. After reading this article, I hope you can gain something.

CSS Code Copy content to clipboard

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);/* Firefox */ background:-webkit-gradient(linear, 0% 0%, 0% 100%,from(#b8c4cb), to(#f6f6f8));/* Google */ 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+*/ } The above is how to make the background color gradient under the CSS browser shared by Xiaobian for everyone. If there is a similar doubt, please refer to the above analysis for understanding. If you want to know more about it, please pay attention to the industry information channel.

Tags: Content browser background browsing analysis professional small and medium rich clipboard that is articles more Firefox knowledge articles industry perspective information channels channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Microsoft Redmi Apple NVidia