I want to know that "How can I change the opacity of a background image without changing the contents of the div?"
I searched too much and I did not find a good answer to solve this problem!
HTML
<div class="div-1">
<h2>title</h2>
<p>text</p></div>
CSS
.div{
position:relative;
width:200px;
height:200px;
float:left;
color:white;
background:#7a8586 url('url') no-repeat local right;
overflow:hidden;
text-align: justify;
font-family:arial;
font-size:14px;}
source
share