I have two elements one with shadow and the other with a background color as such:
<div class="shadow-lg">
...
</div>
<div class="bg-white">
...
</div>
When the bottom item does not have a background color, the top element's shadow is completely visible. However, when the bottom element has a background color as shown in the above code, the bottom part of the shadow is not visible.
Why does this happen and how can I prevent this?




