I want my element to look as though it has a shadow underline.
I don't want the shadow for the other sides. just shadow will be in the bottom. How can I do this?
Use the below code in your CSS
try this to get the box shadow under your full control.