Imagine you have HTML code structured like this:
<div class="container">
<div class="navbar">Navbar</div>
<div class="body">Body</div>
</div>
and corresponding CSS styles:
.navbar {
background-color: green;
-webkit-box-shadow: 0px 2px 16px 2px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 2px 16px 2px rgba(0,0,0,0.75);
box-shadow: 0px 2px 16px 2px rgba(0,0,0,0.75);
}
.body {
background-color: white;
}
However, due to the body element positioned above the navbar, the shadow effect is not visible. How can this issue be resolved?