Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS:各大网站实现灰度的方法 #56

Open
smileyby opened this issue May 25, 2021 · 0 comments
Open

CSS:各大网站实现灰度的方法 #56

smileyby opened this issue May 25, 2021 · 0 comments
Labels
CSS 🌚 CSS相关

Comments

@smileyby
Copy link
Owner

-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
filter: url(data:image/svg+xml;utf8,#grayscale); /* 腾讯 /
filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); /
抖音、淘宝、京东、美团、网易、去哪儿、滴滴 */

@smileyby smileyby added the CSS 🌚 CSS相关 label May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS 🌚 CSS相关
Projects
None yet
Development

No branches or pull requests

1 participant