Live Preview
The card updates as you edit each box shadow layer.
Preview Card
Elevated UI
Tune the offset, blur, spread, opacity, and inset controls to create soft depth, sharp edges, or stacked elevation for cards, buttons, and panels.
A CSS box shadow generator is a visual tool for building the box-shadow property by adjusting offset, blur, spread, color, opacity, and inset layers in real time. Use it to preview depth instantly and copy production-ready CSS without trial-and-error tweaking.
Build a single shadow or stack multiple layers, then refine it alongside related NitroClaw tools like the CSS Gradient Generator, Color Picker, and Color Contrast Checker.
The card updates as you edit each box shadow layer.
Preview Card
Tune the offset, blur, spread, opacity, and inset controls to create soft depth, sharp edges, or stacked elevation for cards, buttons, and panels.
Edit each layer independently to build subtle depth or dramatic stacked shadows.
Drag-free numeric controls for fast CSS tuning
Drop shadow • rgba(15, 23, 42, 0.20)
Drop shadow • rgba(71, 85, 105, 0.12)
The CSS box-shadow property draws one or more shadows around an element's frame. Each shadow layer can control horizontal offset, vertical offset, blur radius, spread radius, color, opacity, and whether the shadow is inset inside the element.
Blur softens the shadow edge and makes it look more diffused, while spread grows or shrinks the overall shadow size before blur is applied. A higher blur creates a softer glow, and a higher spread makes the shadow appear larger and more prominent.
Yes. CSS supports multiple box-shadow layers separated by commas. Designers often stack subtle shadows together to create more natural depth, stronger elevation, or neumorphic and layered interface effects.
An inset box shadow is drawn inside the element instead of outside it. It is useful for pressed buttons, inner borders, recessed panels, and soft UI effects where depth appears to go inward.
A box shadow may be hard to see if the color is too transparent, the blur is too small, the element background is similar to the shadow color, or a parent container uses overflow hidden and clips the outer shadow. Increasing opacity, blur, or offset usually makes it more visible.