I have a div with background color as green and opacity as 0.4.
<div id="container" style="background-color:green;opacity:0.4">Text</div>
And I have a text inside the div. When i set the opacity for the div, the innerHTML values is also affected. I want the div background color with opacity 0.4,and the text with normal opacity. Is it possible to achieve my requirement?
Thanks in advance