Created
November 14, 2015 20:44
-
-
Save marcingrzejszczak/8b4c3672714bfdbcd4c3 to your computer and use it in GitHub Desktop.
Grayscale for a webpage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://superuser.com/questions/330830/how-to-turn-web-pages-in-browser-into-black-white-grayscale */ | |
body { | |
/* IE */ | |
filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); | |
/* Chrome, Safari */ | |
-webkit-filter: grayscale(1); | |
/* Firefox */ | |
filter: grayscale(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment