让网页变黑白的代码合集

 

<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>
<style>
html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}
</style>
<style>
html {filter: grayscale(1);}
</style>
#BODY {   
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);   
}

 

转载请注明出处,多谢!
THE END
分享
二维码
< <上一篇
下一篇>>