freeCodeCamp Challenge Guide: Add a box-shadow to a Card-like Element

Add a box-shadow to a Card-like Element


Problem Explanation

The box-shadow property attaches one or more shadows to an element.

h-offset: Required. The horizontal offset of the shadow. A positive value puts the shadow on the right side of the box, a negative value puts the shadow on the left side of the box.

v-offset: Required. The vertical offset of the shadow. A positive value puts the shadow below the box, a negative value puts the shadow above the box.

31 Likes