css

Bottom box shadow only to element in CSS

.bottom-box-shadow {
    -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);
       -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);
            box-shadow: 0 8px 6px -6px rgba(0,0,0,0.7);
}

If you want to apply box shadow to an element you can use this code snippet. It will apply box-shadow to the bottom side of the element.

Was this helpful?