Box Shadow Generator
Build CSS box shadows — offset, blur, spread, colour, opacity, inset or outset — with a live preview. Nothing is uploaded or stored.
Build your shadow
Add at least one shadow layer.
Result
Sample card
The shadow you build shows here.
The shadow you build shows here.
CSS
How this tool works
Local only. The CSS is generated in your browser from the controls, and the preview updates live with every change. Nothing is uploaded, stored or shared.
Ranges. Offsets are clamped to −50 to 50 px, blur to 0–100 px, spread to −50 to 50 px, and opacity to 0–100%.
Layers. You can stack up to 4 shadow layers — the first layer is drawn on top.
Inset. An inset shadow falls inside the box instead of outside it.