Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .grayscale {
- filter: grayscale(100%); // General Grayscale support
- -webkit-filter: grayscale(100%); //Webkit Browser Support
- -moz-filter: grayscale(100%); // Mozilla Firefox Support
- -ms-filter: grayscale(100%); // IE Support
- -o-filter: grayscale(100%); // Opera Browser Support
- 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"); /* Firefox 10+, Firefox on Android */
- filter: gray; /* IE6-9 */
- }
Advertisement
Add Comment
Please, Sign In to add comment