CSS Box Shadow Generator

Live preview · copy-ready CSS
preview
box-shadow: 3px 8px 24px 0px #1a1a1a80;
T
ALL TOOLS · THE CATALOG
112 single-purpose utilities · runs local
Browse all →
All tools process files entirely in your browser · Your data never leaves your device

CSS Box Shadow Generator

Sliders for the four numbers, a colour, an inset toggle, and a preview that is the same `box-shadow` the copy button emits. No prefix soup — modern CSS does not need `-webkit-box-shadow`.

Private by design. The preview and the CSS string are computed in this tab.

FreeNo sign-upRuns in your browserDeveloperApplication

How to generate a box-shadow

  1. Move X, Y, blur and spread. The preview is live. Negative spread shrinks the shadow.
  2. Set colours. Shadow, box and backdrop are independent so you can see the shadow on a surface that is not white.
  3. Copy the CSS. One `box-shadow:` line. Paste it into your stylesheet.

Frequently Asked Questions

Do I still need the -webkit prefix?
Not for any browser that matters in 2026. The page copies the unprefixed property.
Can I stack several shadows?
This generator emits one. Stack by joining with commas in your CSS.

Use Cases

Related tools

More free, in-browser tools from the Developer Tools set — every one runs locally, with no sign-up and no upload.

Browse all free online tools →