Created
August 1, 2014 03:56
-
-
Save awakekat/98a11f017fcfeeea0aa8 to your computer and use it in GitHub Desktop.
Tinted Images with Multiple Backgrounds - CSS Tricks
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
/* Working method */ | |
.tinted-image { | |
background: | |
/* top, transparent red, faked with gradient */ | |
linear-gradient( | |
rgba(255, 0, 0, 0.45), | |
rgba(255, 0, 0, 0.45) | |
), | |
/* bottom, image */ | |
url(image.jpg); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment