html - CSS: Combine Texture and Color -
someone how combine texture use background-image , background-color above texture ?
here texture :
i want body background page :
i'm struggling backroung-image , background-color : http://jsfiddle.net/87k72/
body{ background: #6db3f2 url('http://s13.postimg.org/j0qiscsw3/cream.png'); }
you can use overlay div alpha channel on top of body under other elements.
<h1>i want blue color above texture</h1> <div id="cover"></div> body { background: url('http://i.stack.imgur.com/oslrb.png'); } h1{ position:relative; z-index:2; } #cover { position:absolute; top:0; bottom:0; left:0; right:0; background-color:rgba(109,179,242,0.5); z-index:1; }
Comments
Post a Comment