Color web page turns into black and white CSS code

巴扎黑
Release: 2017-06-09 14:09:19
Original
2515 people have browsed it

Web page gray black\black and white CSS code to make the web page black CSS code:

<style> 
    html { 
        -webkit-filter: grayscale(100%); 
        -moz-filter: grayscale(100%); 
        -ms-filter: grayscale(100%); 
        -o-filter: grayscale(100%); 
        filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);  
        _filter:none; 
    } 
</style>
Copy after login

Put the code before to make the corresponding web page black and gray!

Color web page turns into black and white CSS code

Let the color of the web page become black and white

Color web page turns into black and white CSS code

How to change the color of the web page to black and white The CSS code is as above, and you can add it The web page changes to black and white!

The above is the detailed content of Color web page turns into black and white CSS code. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!