5.12 A very sad day, many webmasters want to use their own practical action to express the earthquake mourning day prayers and blessings, here to provide a simple line of code to achieve ...
In 512 special days, many webmaster want to use their own practical action to express the earthquake mourning day prayers and blessings, the following provides a simple do not modify any site source code on the black and white method.
1, has the CSS style website black and white Goose style setting Method: Will add the following code to the website CSS style topmost.
HTML {filter:progid:DXImageTransform.Microsoft.BasicImage (grayscale=1);}
Please note that the above code does not wrap.
2, does not enable the CSS style website black and white Goose style setting method One: Inserts the HTML code and between the page or the template
<style>
Html{filter:progid:dximagetransform.microsoft.basicimage (grayscale=1);}
</style>
Note that the above code is 3 lines and the middle line is not wrapped.
This makes it easy to make the site gray.
The effect chart is as follows: