1
I have the following code.
The div Second is inside the div first
How to make the opacity property not affect the div Second
.first {
width: 200px;
height: 200px;
background: red;
opacity: 0.6;
}
.second{
width: 50px;
height: 50px;
background: blue;
}
<div class="first">
<div class="second">
</div>
</div>
Hello! There is an answer available in another topic: https://answall.com/questions/3860/como-n%C3%A3o-apply-opacity-in-a-child element
– Getulio Rafael Ferreira