Skip to content

Instantly share code, notes, and snippets.

@CooLNuanfeng
Created July 23, 2014 06:19
Show Gist options
  • Save CooLNuanfeng/2fcf9f57522a2a4a92a7 to your computer and use it in GitHub Desktop.
Save CooLNuanfeng/2fcf9f57522a2a4a92a7 to your computer and use it in GitHub Desktop.
网页变灰
html{filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);}
html {
filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
-webkit-filter: grayscale(1);
}
html {
filter: grayscale(100%);
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: url(desaturate.svg#grayscale);
filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
-webkit-filter: grayscale(1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment