html - How can I blend black background into the top of a b+w image using css? -
not sure how blend solid black background black , white image, posted in jfiddle
<div class="background2"> </div> <div class="background3"> </div>
they both backgrounds of div boxes.
by blend if mean black background go on image, can make .background2
position: absolute;
, edit according that.
eg:
.background2 { background: rgba(0,0,0,.7); position: absolute; height: 100%; width: 100%; z-index: 1; }
here link updated fiddle
Comments
Post a Comment