Box Shadow All Sides

This example shows, how to apply box-shadow on all four sides? We have used the four multiple shadows in CSS box-shadow property. Multiple shadows will give us full control on all four shadows which are set on all four sides.

Box Shadow Properties

Inset
Color
Shadow 0
Box Shadow

Element Properties

Color

Box Shadow CSS

box-shadow: 0px 19px 38px 0px rgba(0,0,0,0.3);
CSS

Element CSS

.element {
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 1);
    color: #000;
    border-radius: 10px;
    box-shadow: 0px 19px 38px 0px rgba(0,0,0,0.3);
  }
  
CSS

You can adjust values in our multiple box shadow generator to fine tune the result.

Box Shadow Examples