Skip to content

Instantly share code, notes, and snippets.

@AlexVKO
Created July 19, 2015 11:45
Show Gist options
  • Save AlexVKO/59749e375dbf775a198a to your computer and use it in GitHub Desktop.
Save AlexVKO/59749e375dbf775a198a to your computer and use it in GitHub Desktop.
Example of CSS webkit filters
/*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