终极版代码,兼容IE chrome Firefox。。。。。
很简单,只要是标准网页,在html标签加上下面样式就行了:
html{
filter:grayscale(100%);
-moz-filter:grayscale(100%);
-o-filter:grayscale(100%);
-webkit-filter:grayscale(1);
}
让网页变成灰色代码,没有你想的那么复杂
原文:http://www.cnblogs.com/ljn-/p/5103964.html