Free Design Tool

Box Shadow Generator

Drag the sliders to sculpt the perfect shadow, or start from a preset. Watch it update live, then copy the exact CSS for your project.

100% Free No signup Runs in your browser No uploads
10px
10px
20px
0px
25%

Live preview

CSS output


      

Start from a preset

Tap any preset to load it into the sliders, then fine-tune it.

Frequently asked questions

What does each slider do?

Horizontal and vertical offset move the shadow, blur radius softens its edges, spread grows or shrinks it, and opacity fades it. The color pickers set the shadow and box colors, and the inset toggle flips the shadow inside the box.

When should I use an inset shadow?

Inset shadows sit inside the element, which is perfect for pressed buttons, form fields, or panels that should look carved in rather than lifted off the page.

Will this CSS work in all browsers?

Yes. box-shadow is supported by every modern browser with no vendor prefixes needed. Paste the copied CSS straight into your stylesheet and it just works.

Preview

Box Shadow Generator tool preview
Live preview of the Box Shadow Generator tool running in your browser. Your data never leaves your device.

Related free tools