Last active
August 29, 2015 14:14
-
-
Save etasi/f6197117f7226a429b93 to your computer and use it in GitHub Desktop.
CSS: Tinted Image With Multiple Backgrounds
This file contains hidden or 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
| .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