CSS Box Shadow Generator

Live preview · copy-ready CSS
preview
box-shadow: 3px 8px 24px 0px #1a1a1a80;

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 browser

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

  • Tune a card shadow without flipping back to the inspector
  • Compare inset vs drop on the same box
  • Hand a teammate one copy-paste line
T
ALL TOOLS · THE CATALOG
477 single-purpose tools · no sign-up
File-processing tools run in your browser. Network and device requirements are described on each tool.