Box Shadow Generator
Stack as many shadow layers as you like, drag the offset, blur and spread sliders, and watch the preview update in real time. The CSS is generated as you go — copy it straight into your stylesheet.
How to use this tool
-
1
Start from a preset — or go straight to the sliders. Every change repaints the preview and rewrites the CSS instantly, no button to press.
-
2
Press Add layer to stack a second, third or fourth shadow. Click a row in the layer list to edit it, click its colour square to pick a colour or type a hex right in the row; the first layer is painted on top, exactly like in CSS. Turn on
Insetto draw the shadow inside the box instead. -
3
Choose your output flavour — one layer per line,
rgba()or 8-digit hex, an extra-webkit-line — then Copy CSS or Download .css. Undo and Redo (orCtrl+Z) step through every change you made.