I understand that this question may have been answered before, but I am having trouble, only setting the opacity to the background (container), but not the text, but when i set the opacity on the container, then it also sets it on the text.
I have tried researching on google and even on here, but nothing seems to work
html
<div class="container">
<div class="test">
<div class="title">
<h3>"The Rising Dead"</h3>
</div>
</div>
</div>
css
.container{
background-color: rgba(255, 0, 0);
opacity: 0.5;
width: 1350px;
margin-left: 280px;
height: 500px;
}
.title h3{
opacity: 7;
}
Screenshot:
https://imgur.com/rATgSiz
Any help appreciated and thanks in advance