Is it feasible using CSS to create text with a transparent background while keeping the text opaque?
I attempted the following method:
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>