Imagine having a three-level hierarchy HTML code structured like this:
<section>
<div id="outer">
<div id="inner">
</div>
</div>
</section>
If we set background-image:someImage.jpg
to the section
, and background:white
to the outer div, is there a way to apply the same image - someImage.jpg
- as the background to the inner div but in a way that it still shows the section's background instead of duplicating the image? The inner part of the inner div should be transparent so that the background image of the section is visible instead of the white background of the outer div.