Created
May 5, 2015 08:47
-
-
Save aviogreen/dbe467fc151dc3b989fb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.grayscale{ | |
@filterString: grayscale(100%); | |
-webkit-filter: @filterString; | |
-moz-filter: @filterString; | |
-o-filter: @filterString; | |
-ms-filter: @filterString; | |
filter: @filterString; | |
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><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"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment