beginnertermCSSCSS / Visual effects / Box shadow
BeginnerNot yet reviewed

Box shadow

The box-shadow property draws one or more shadows around an element, with offset, blur, spread and color.

Definition

The box-shadow property draws one or more shadows around an element, with offset, blur, spread and color.

Use case

Cards, dropdowns and buttons use shadows to show elevation. Layered soft shadows read as more natural than a single dark one.

In Figma

Drop shadow effect

Related terms

Resources

No resources yet. Suggest one.

Suggest a change