Skip to content

Instantly share code, notes, and snippets.

Avatar
⛑️
Building the future

Dr. Tamás Szabó klaymen

⛑️
Building the future
View GitHub Profile
@karlhorky
karlhorky / grayscale-disable.css
Created Aug 26, 2012
Cross-Browser CSS Grayscale
View grayscale-disable.css
img.grayscale.disabled {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
-webkit-filter: grayscale(0%);
}