I have a div with opacity: 40% . But i want the text in div show with opacity 100%
#box {
Background-color:#000;
Opacity:40%;
}
I have a div with opacity: 40% . But i want the text in div show with opacity 100%
#box {
Background-color:#000;
Opacity:40%;
}
Used Background color with rgba
#box {
background-color: rgba(255,0,0,0.4);
width: 300px;
height: 300px;
}
<div id="box">Text</div>