css background image add overlay code example
Example 1: background overlay css
html {
min-height:100%;
background:linear-gradient(0deg, rgba(255, 0, 150, 0.3), rgba(255, 0, 150, 0.3)), url(http://lorempixel.com/800/600/nature/2);
background-size:cover;
}
Example 2: make background overlay css
<div id="element-with-background-image">
<div id="color-overlay"></div>
...
</div>