adding background image html opacity code example
Example 1: set background image opacity
#bg{
background-image: url('images/wood1.jpg');
opacity:0.2;
width:300px;
height:300px;
}
Example 2: reduce opacity of background image css
.img1 {
opacity: 0.6;
z-index=1;
}