Box Shadow Right

Adding a box shadow on one side of an element is very easy via CSS box-shadow property. Adjusting the values of box-shadow property gives interesting results. We have shared this example with box shadow right only.

Try other values in the box shadow generator to achieve your desired results.

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