CSS box shadow generator

Design box shadows visually and copy the ready CSS. Free, private and offline in your browser — files never leave your device.

Design & color100% on deviceFree, no accountWorks offline

About this tool

Build a CSS box-shadow with sliders and copy the exact declaration, with a live preview on a real card.

How it works

  1. Move the offset X, offset Y, blur, spread and opacity sliders and pick a colour.
  2. Tick Inset for an inner shadow and watch the preview card update.
  3. Press Copy to take the CSS code.

Frequently asked questions

Can I stack several shadows?

The generator produces one shadow at a time; to stack them, copy each value and join the layers with commas in your stylesheet.

Will the copied code work in Tailwind?

Yes. Paste the value into an arbitrary property such as shadow-[0_4px_12px_rgba(0,0,0,0.2)], or use it as plain CSS.