网页黑白

html{ 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 id='grayscale'>
	<feColorMatrix type= 'matrix' values= '0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.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);
-webkit-filter: grayscale(1); } #grayscale");
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
-webkit-filter: grayscale(1); }

 

《网页黑白》有1个想法

  1. Hi there, just became alert to your blog through Google, and found that it is really informative. I am gonna watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

发表评论

电子邮件地址不会被公开。 必填项已用*标注