Support for Ya'an, changing webpages to Gray and how to modify codes
Yayan is supported, and the overall color of the website changes to gray. let's pray for it! As a programmer, what can we do as a webmaster? Pray for the people in Ya'an, Sichuan with their own actions! Let's take actions together. let's pray for the Ya'an people in Sichuan.
The following code turns the whole site webpage into a gray css code:
- Html {filter: progid: DXImageTransform. Microsoft. BasicImage (grayscale = 1);-webkit-filter: grayscale (100% );}
Usage: add the code to the bottom of the CSS file.
If the website does not use CSS, you can go to the global page header html code of the webpage/template.AndInsert:
Note:
1. Some webmasters do not use the above code because the latest standard web page protocol is not used.
-
-
PleaseReplace with the above code to solve the problem.
2. some website FLASH animation colors cannot be controlled by CSS filters.AndInsert:
How to modify the full site Gray of the Discuz Forum:
Method 1 (recommended): add the following code in the background-global-SEO settings-Others-other header information:
1.jpg.thumb.jpg (201.19 KB, Downloads: 61) Download attachment Gray page settings Upload Method 2: add at the bottom of the common.css file in the template \ default \ commondirectory of the Discuz template
- Html {filter: progid: DXImageTransform. Microsoft. BasicImage (grayscale = 1);-webkit-filter: grayscale (100% );}
Method 3: add the following content to the header_common.htm file in the template \ default \ commondirectory of the Discuz template
|
Ya'an