Fine-tune a CSS box-shadow — horizontal and vertical offset, blur radius, spread, color,
opacity, and inset — with a live preview, then copy the exact box-shadow CSS or the equivalent
Tailwind shadow utility classes. Useful for cards, buttons, modals and any element that needs depth.
Use a larger blur radius with a low-opacity shadow color, e.g. box-shadow: 0 4px 12px rgba(0,0,0,0.1). This generator builds that value from sliders with a live preview.
Offset (X/Y) moves the shadow position; blur softens its edges; spread grows or shrinks the shadow shape independent of the element itself.
Add the inset keyword to box-shadow to draw the shadow inside the element’s border instead of outside it — this generator has an inset toggle.
A common modern card shadow is a small offset, moderate blur (8–20px) and low opacity (0.05–0.15) — subtle enough to suggest elevation without looking heavy.
CSS box-shadow supports comma-separated multiple shadows on one element for layered depth; this generator focuses on producing one clean shadow value you can combine manually if needed.
Yes. Toggle Tailwind mode to get the closest matching Tailwind shadow utility classes instead of raw CSS.
Yes — completely free with no sign-up, and it runs entirely in your browser.
Yes, toggle the light/dark preview since shadow visibility differs a lot between light and dark backgrounds.