Box Shadow Right Left

Thanks to CSS box-shadow property option to add multiple shadows via comma separated values. This option has made it easy to get box-shadow on left and right sides only of an element.

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

Box Shadow Examples