Created
December 9, 2022 13:38
-
-
Save johnbocook/5bbf3dd0665edb957be8c55bb1c8beb2 to your computer and use it in GitHub Desktop.
Css filters to adjust the look of a png file.
This file contains 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
/*Filter styles*/ | |
.saturate { filter: saturate(3); } | |
.grayscale { filter: grayscale(100%); } | |
.contrast { filter: contrast(160%); } | |
.brightness { filter: brightness(0.25); } | |
.blur { filter: blur(3px); } | |
.invert { filter: invert(100%); } | |
.sepia { filter: sepia(100%); } | |
.huerotate { filter: hue-rotate(180deg); } | |
.rss.opacity { filter: opacity(50%); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment