代码介绍
将网站变成灰色来哀悼,来缅怀哪些伤心的过去,把代码加到<head></head>标签之间,或者header.php里面,就是可以改变整站的位置就行,代码通用。
代码1:

<!--[if IE]>

<style>

html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); } 

</style>

<!--<![endif]-->

<!--[if !IE]><-->

<style>

html{

filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);

    filter: grayscale(100%);

    -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 ….3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\"/></filter></svg>#grayscale"); 

    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);

    filter: gray;

    -webkit-filter: grayscale(1); 

}

</style>
<!--<![endif]-->

代码2:

<style>  
html{  
    filter: grayscale(100%);  
    -webkit-filter: grayscale(100%);  
    -moz-filter: grayscale(100%);  
    -ms-filter: grayscale(100%);  
    -o-filter: grayscale(100%);  
    filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);  
    -webkit-filter: grayscale(1);  
}  
</style>

代码3:
handsome主题自定义css加入以下代码,其他通用

html {
 filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
 -webkit-filter: grayscale(100%);
}

代码4:

<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>