Skip to content

CSS Box Shadow Generator

Design CSS box shadows visually with real-time preview and code export.

Runs locally in your browser — nothing is uploaded.

box-shadow: 0px 4px 12px 0px #00000040;

How it works

  1. Step 1Adjust offsetsSet horizontal, vertical, blur, and spread values.
  2. Step 2Pick colorChoose the shadow color and opacity.
  3. Step 3Copy CSSCopy the box-shadow CSS rule.

Frequently asked questions

What does each value do?

Horizontal offset: left/right. Vertical offset: up/down. Blur: how soft the edge is. Spread: how far the shadow extends.

Related tools