🌑 CSS Box Shadow Generator

Build beautiful layered shadows visually. Drag, tune, and copy your CSS instantly.

Quick Presets
Shadow Layers
Active Layer
Offset X 0px
Offset Y 0px
Blur Radius 20px
Spread Radius 0px
Opacity 35%
Shadow Color
Inset shadow
Preview Box
Box Color
Width 200px
Height 200px
Border Radius 12px
Live Preview
Box Shadow
Generated CSS
History
No history yet — make changes to record them.

About CSS Box Shadows

The box-shadow Property

box-shadow accepts up to 6 values: optional inset, horizontal offset, vertical offset, blur radius, spread radius, and color. Multiple shadows are comma-separated, letting you stack unlimited layers for complex effects like neumorphism or glassmorphism.

Layer Order Matters

The first shadow in the list is rendered on top. This matters most with inset shadows and when blending multiple colored layers. Drag layers in the list to reorder them — the live preview and CSS update instantly.

Performance Tips

Large blur values are GPU-expensive. For animated shadows, animate opacity of a pseudo-element instead of animating box-shadow directly — this stays entirely on the compositor thread and avoids layout recalculations.