Skip to content
HTML.ONE
Home CSS Properties

CSS Box-shadow

Adds one or more shadows around an element; values specify offsets, optional blur and spread, and colour.

Example

box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);

Further reference

MDN CSS reference

Live preview