5.12 mourn the deceased quickly turn your website grey

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

Today is the first anniversary of the 5.12 Wenchuan earthquake, which was set today as a national day of mourning, with many web interfaces turning black and white to commemorate the dead who died in the quake. For the ordinary webmaster, for the disaster can not do more than what, but could do their own web site also become black and white, so that the memory of those who died.

If the traditional way to turn the Web into black and white is very troublesome, need to replace the page file, and to change the picture. But if your Web site supports CSS, everything becomes easy. As long as it is compliant with the W3 standard Web page, the CSS file in front of a line of code can be, this code uses a CSS filter, the page in the color part of the filter out. This code is personal 211.html "> Feel the easiest code to implement in the website, the code is as follows

HTML {filter:gray;}

After adding the code, refreshing the page again will find the page has become black and white. What are you waiting for, quickly add a line of code to your website and turn it into black and white, remembering people who died in the earthquake.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.