Say I have a html object tree as follows:
<div>
<p>Text 1</p>
<p>Text 2</p>
<div></div>
</div>
I want the css to flood the inner div inside of the outer one. However I want the text etc to appear intact. My idea is I can set a bg color and opacity to the inner div and not affect the text. How do I do this?
EDIT: just to emphasize on my point: I could very well set the opacity on the outer div, but the text inside will also fade. I don't want this to happen