I am looking for css
a solution where I can set lower value of opacity
for background color, and text over it will b completely opaque.
I tried this:
<div style="opacity: 0.4; background:none repeat scroll 0% 0% rgb(242, 242, 242); ">
<div style="opacity: 1;">
Complete opaque text over background color
</div>
</div>
but this didn't work. Here opacity for both both background color and text are getting changed as per outer div opacity value.
Can anyone please suggest any solution?