Skip to content

Instantly share code, notes, and snippets.

@malachi358
Created March 29, 2015 03:20
Show Gist options
  • Save malachi358/33021c979f70c372534e to your computer and use it in GitHub Desktop.
Save malachi358/33021c979f70c372534e to your computer and use it in GitHub Desktop.
Webkit Filters CSS
/*Filter styles*/
.saturate {-webkit-filter: saturate(3);}
.grayscale {-webkit-filter: grayscale(100%);}
.contrast {-webkit-filter: contrast(160%);}
.brightness {-webkit-filter: brightness(0.25);}
.blur {-webkit-filter: blur(3px);}
.invert {-webkit-filter: invert(100%);}
.sepia {-webkit-filter: sepia(100%);}
.huerotate {-webkit-filter: hue-rotate(180deg);}
.rss.opacity {-webkit-filter: opacity(50%);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment