I have a problem with my code. I need to have a well-visible image inside an opaque div. This is my code HTML5:
<div class="container-fluid">
<div class="lower-container">
<img src="client/img/ui/frecciaLatoSx.png">
<img src="client/img/ui/buttonHotelView.png">
<img src="client/img/ui/bottoneNavigatore.png" style="filter:brightness(100%)">
</div>
and this is my CSS3 code:
.container-fluid{
padding-right: 0px;
padding-left: 0px;
margin-right: auto;
margin-left: auto;
}
.lower-container{
background-color: #2E2E2C;
opacity: 0.5;
border-top: 2px solid hsl(45, 3%, 45%);
border-bottom: 1px solid hsl(45, 3%, 45%);
height: 50px;
position: absolute;
bottom: 0;
}
img{
opacity: .9;
}
As you can see, I tried to fix the image in the last point of the CSS3 file, but unfortunately I did not.
So how can we arrange the right opacity of the image, leaving the div with this opacity? Thanks everyone in advance for future answers.