CSS Box Shadow Generator

Dial in offset, blur, spread, colour and opacity, watch the preview, then copy the box-shadow rule.

Box

How it works

  • Offset, blur, spread and opacity are all adjustable, and the colour picks up your chosen value as rgba().
  • Inset shadows are supported for pressed and well styles.
  • The preview box sits on the same background as a card, so the shadow reads the way it will in your page.