Recently stumbled upon a tutorial on achieving this effect at https://css-tricks.com/tinted-images-multiple-backgrounds/
/* Method I attempted */
.tinted-image {
background:
/* top, transparent red, simulated with gradient */
linear-gradient(
rgba(255, 0, 0, 0.45),
rgba(255, 0, 0, 0.45)
),
/* bottom, image */
url(image.jpg);
}
I gave it a shot but unfortunately couldn't make it work. Here's my attempt in a fiddle: https://jsfiddle.net/w6jnv67c/
Any suggestions on what might be going wrong?