html - CSS: Combine Texture and Color -


someone how combine texture use background-image , background-color above texture ?

here texture :

texture alone

i want body background page :

enter image description here

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.

jsfiddle example

<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

Popular posts from this blog

android - Invite new users for my app using app notifications facebook -

Need help in packaging app using TideSDK on Windows -