Is it possible in CSS to make the background of a text transparent but the text remains the same (non transparent)?
I tried this:
p {
position: absolute;
background-color: blue;
filter: alpha(opacity=60);
opacity: 0.6;
}
span {
color: black;
filter: alpha(opacity=100);
opacity: 1;
}
<p>
<span>Earth is a planet</span>
</p>