Last active
August 29, 2015 13:57
-
-
Save vflash/9638593 to your computer and use it in GitHub Desktop.
css filter
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
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feGaussianBlur stdDeviation=\'2\' in=\'SourceGraphic\'/><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: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feGaussianBlur stdDeviation=\'2\' /><feColorMatrix type=\'saturate\' values=\'0.2\' /></filter></svg>#grayscale"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-webkit-filter: blur(2px) grayscale(0.9)