Answer the question
In order to leave comments, you need to log in
How to apply a colored translucent background to a block that already has a background image when hovering over the parent block?
There is this markup:
<div class="father>
<div class="image"></div>
<div class="content"></div>
</div>
.father:hover .image {
background: url('images/card1.png') no-repeat 0 0,
rgba(214, 29, 89, 0.5);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question