Box Shadow Generator
Dial in a box-shadow visually and copy the CSS.
Settings
Preview
About Box Shadow Generator
Adjust offset, blur, spread, color, and opacity with sliders and see the shadow update live on a preview card, then copy the finished box-shadow CSS.
What you can adjust
Horizontal and vertical offset, blur radius, spread, color, and opacity, all via sliders, plus a toggle for an inset (inner) shadow instead of the default outer shadow.
How to use it
Adjust the sliders and watch the preview update live, then copy the generated box-shadow CSS once it looks right.
Use cases
Dial in a subtle card shadow without guessing pixel values. Build an inset shadow for a pressed-in UI effect. Get the exact box-shadow syntax right without looking up the property order.
Limitations
Produces a single box-shadow value — there's no option to stack multiple shadows on the same element within this tool; you'd need to combine values manually for that.
Can I stack multiple shadows on one element?
Not within this tool — it generates a single box-shadow value. To combine multiple shadows, you'd add them together manually in your CSS.
What does the inset toggle do?
It switches from an outer shadow (the default) to an inner shadow that appears inside the element's edges.
Is this actually free?
Yes.