How to turn a web page into black and white and be compatible with Google, Firefox, ie and other browsers
This article is about how to turn a web page into black and white and be compatible with Google, Firefox, ie and other browsers. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Write to the css file
The code is as follows:
01.html {filter: grayscale;-webkit-filter: grayscale;-moz-filter: grayscale;-ms-filter: grayscale;-o-filter: grayscale; filter: url ("data:image/svg+xml;utf8,#grayscale"); filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);-webkit-filter: grayscale (1);}
In fact, it is to add a gray filter.
Thank you for reading! This is the end of this article on "how to make a web page black and white and compatible with Google, Firefox, ie and other browsers". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!