Is it possible to combine a background image with a rgba color without using a rgba gradient?
Currently my css3 style looks like this:
html
{
background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
url("../icons/sombrero.jpg")no-repeat center center fixed;
}
But I imagine something like this:
html
{
background:rgba(0, 0, 0, 0.75),
url("../icons/sombrero.jpg")no-repeat center center fixed;
}
The rgba color should lay above the image. I got the gradient-'hack' from here. I search for an alternative to the gradient technique, no box-shadow trick.