Answer the question
In order to leave comments, you need to log in
Need to make the background transparent, but not the picture?
Such a situation, there are two blocks one inside the other.
<div class="blocks">
<div class="icon"><img src="путь к картинки"></div>
</div>
.blocks{
background: #284d88;
margin: 0;
padding: 0;
width: 980px;
height: 110px;
opacity:0.7;
filter:alpha(opacity=70);
-moz-opacity:0.7;
Answer the question
In order to leave comments, you need to log in
Can be made easier
.blocks {
background: rgba(#284d88, 0.7);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question