1
怎么把一整个网页(包括图片)都变成黑白的
source link: https://www.joynop.com/p/451.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
怎么把一整个网页(包括图片)都变成黑白的
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 ….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);
}
打赏: , - (付款时请注明赞赏)
标签: svg, grayscale, filter, ms-filter, moz-filter
添加新评论
请输入 6 + 8 = ? 的计算结果:
- 上一篇: Vue3 弹窗打开,默认输入框带焦点全选文字(以antdv为例)
- 下一篇: 没有了
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK