Live Preview
Watch the shadow change on a real box as you drag each slider, so there is no guesswork.
Build a CSS box-shadow with sliders and a live preview, then copy the code. Set offset, blur, spread, color, and inset, and watch the box update. Free, no signup.
Drag the horizontal, vertical, blur, and spread sliders to shape the shadow.
Pick the shadow color and opacity, and the box color, then toggle inset if you need an inner shadow.
When the preview looks right, copy the box-shadow line and paste it into your stylesheet.
The CSS box-shadow property packs four numbers, a color, and an optional inset keyword into one line, and small changes make a big visual difference. Typing values blind and refreshing to check is slow. A visual builder lets you drag each value and see the result instantly.
This generator gives you a live box and a slider for every part of the shadow: horizontal offset, vertical offset, blur, spread, and opacity. Pick the shadow color and the box color, switch to an inset shadow when you need a pressed look, and the exact CSS updates as you go.
When it looks right, copy a single clean box-shadow line and drop it into your stylesheet. It is handy for cards, buttons, modals, and hover states. Everything runs in your browser, so nothing is sent anywhere.
Watch the shadow change on a real box as you drag each slider, so there is no guesswork.
Set horizontal and vertical offset, blur, spread, color, and opacity, all in one place.
Flip a switch to turn an outer shadow into an inner one for pressed or inset looks.
Choose any shadow color with adjustable opacity and set the box color to test contrast.
Get one ready to paste box-shadow line that works in every modern browser.
Everything runs on your device. Nothing is uploaded and there is no signup.
More Developer tools you might find useful.
Common questions about CSS box shadows.