Share a CSS effect code to make the whole station gray, small program, special to share the following
Full-station grayed-out CSS code compatible with mainstream browsers:
HTML { -webkit-filter:grayscale (100%); -moz-filter:grayscale (100%); -ms-filter:grayscale (100%); -o-filter:grayscale (100%); Filter:url ("Data:image/svg+xml;utf8,<svg xmlns= ' http://www.w3.org/2000/svg ' ><filter id= ' grayscale ' > <fecolormatrix type= ' matrix ' values= ' 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0 '/></filter></svg> #grayscalerayscale "); Filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1); Zoom:1;}
There are also JS grayed out codes available:
Grayscale (document.body);
Grayscale.js please search by yourself.
HTML { -webkit-filter:grayscale (100%); Filter:grayscale (100%); Filter:url (Desaturate.svg#grayscale); Filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);}