Stack layers. Tune each one. Copy production-grade CSS.
This free CSS box-shadow generator lets you stack any number of shadow layers visually, tune offset, blur, spread, colour and opacity per layer, then copy production-grade CSS — everything runs in your browser.
Add a layer for each shadow, set offset, blur, spread and colour, then comma-separate them. The generator handles the ordering and rgba conversion, so you can copy CSS that drops straight into your stylesheet.
Start with the default soft shadow, then tweak the offset, blur, spread and colour sliders to taste. Add more layers for richer depth — ambient + key shadow is a classic two-layer pattern. Switch the stage background to verify contrast on dark and light surfaces. Press Copy CSS when you're happy.
Comma-separate them inside a single box-shadow declaration. The first shadow paints on top of the rest, which matters when you blend a tight ambient shadow with a wider diffuse one.
Blur softens the edges of the shadow, while spread expands or contracts the shadow itself before blurring. Use blur for ambience and spread for tight rim highlights.
Yes. The Neumorphism preset stacks one dark and one light shadow on opposite sides; the Glass preset combines an outer drop shadow with an inset highlight to fake frosted glass.
Built by the Toolbox team against the W3C CSS Backgrounds and Borders Module Level 3 specification — every layer is rendered live in the same shorthand the browser parses, so the preview is exactly what production CSS will paint.