S
Box Shadow Generator
— offset · blur · spread · inset
CSS
Generated client-side · nothing uploaded
Updated 2026-07-09
Generate CSS box-shadow online for free. Drag sliders for offset, blur, spread, colour, and opacity,
toggle inset for an inner shadow, and watch a live preview — then copy the ready-to-use box-shadow
declaration. Everything runs in your browser, so nothing you design is uploaded.
Getting a shadow right by editing numbers and reloading is slow, and the interaction between spread and
blur is hard to picture. This generator shows the result instantly on a sample element and emits clean
box-shadow CSS with an rgba() colour, so your shadows look soft and natural and drop straight into any
card, button, or modal.
x 6, y 12, blur 24, spread 0, black 25%
box-shadow: 6px 12px 24px 0px rgba(0, 0, 0, 0.25);
inset, x 0, y 2, blur 6, spread 0, black 30%
box-shadow: inset 0px 2px 6px 0px rgba(0, 0, 0, 0.3);