I would like to put a logo in a transparent background black except that my logo becomes transparent now... it's a problem. I will wish my logo stays the same as before.
Do you have an idea please?
Here is my HTML
<div class="my-banner">
<img class="banner" src="images/slider.jpg" alt="banniere">
<div class="background-opacity">
<img class="logo" src="images/logo.png" alt="logo" >
</div>
</div>
My CSS
.banner{
height: 530px;
width: 1366px;
position: absolute;
}
.background-opacity{
background-color: black;
opacity: 0.5;
height: 100px;
width: 1366px;
}
.logo{
padding: 20px 0px 0px 35px;
}