The 2008.5.12 Wenchuan earthquake in Sichuan took away many lives, which is regrettable. In order to express deep condolences to our compatriots who died in the disaster, the State Council decided to designate May 19 to 21, 2008 as national days of mourning. During this period, many websites changed their style to "black, white and gray" to express their condolences to the compatriots who died. It is suggested that webmasters across the country take action to mourn the compatriots who died in the earthquake. Related article: Change the website to black and white with one line of CSS code. Method 1:
The above code can change the web page to black, white and gray. Adding the code to the top of CSS can achieve plain decoration. Method 2: If your website does not use CSS files, you can insert them between the <head> and </head> of the HTML code of the web page/template:
Some webmasters' websites may not be able to take effect using this CSS because the website does not use the latest web page standard protocol. Replace the <html> at the top of the web page with the following code: Method 3: The color of some website FLASH animations cannot be controlled by CSS filters. You can insert the following between <object …> and </object> in the FLASH code: <param value="false" name="menu"/> Method 4: The simplest code to turn the page into black, white and gray is between the head: (or the selector in the CSS file is html or body)
We mourn the victims of the 2008 May 12 Wenchuan earthquake in Sichuan. Method 5 <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> The above is a detailed explanation of the 4 codes that turn the website into black, white and gray. For more information about turning the website into gray, please pay attention to other related articles on 123WORDPRESS.COM! |
<<: Embed player in web page embed element autostart false invalid
>>: MySQL Series II Multi-Instance Configuration
As shown below: XML/HTML CodeCopy content to clip...
Table of contents 1. Monitoring port Relationship...
Table of contents Start and stop Database related...
Since there is a button in my company's produ...
mysql-5.7.19-winx64 installation-free version con...
In development projects, we can monitor SQL with ...
This article shares with you a detailed tutorial ...
Detailed explanation of replace into example in m...
In the previous article, I introduced the basic k...
introduction Our company is engaged in the resear...
Absolute positioning method: (1) Set the parent e...
Use HTML to write a dynamic web clock. The code i...
Table of contents WebAPI DOM DOM Tree DOM element...
1 Keep the rpm package downloaded when yum instal...
The warehouse created using the official Docker R...