Design CSS box shadows visually with multiple layers, inset, colour and opacity. Live preview, presets like neumorphism, copy CSS or Tailwind.
The CSS Box Shadow Generator lets you design shadows visually and copy ready-to-use code. Move sliders for horizontal and vertical offset, blur, spread and opacity, pick a colour, switch to an inset shadow and see the result on a live preview box. Stack several layers to create soft, realistic depth like modern design systems use.
Start from presets — Soft, Elevated, Neumorphic, Inset and Glow — then fine-tune. When it looks right, copy the CSS box-shadow property or a Tailwind CSS arbitrary class. It is built for front-end developers, web designers and anyone styling cards, buttons and modals.
Real shadows are rarely one layer. Combine a tight shadow and a wide soft one to get the natural depth used in popular UI kits.
Create soft UI (neumorphic) effects with a light and dark pair, or coloured glows for buttons and focus states, in one click.
Copy standard CSS or a Tailwind shadow-[…] class that works without editing your config file.
box-shadow: [inset] offset-x offset-y blur spread colour. Positive x moves the shadow right, positive y moves it down. Blur softens the edge. Spread makes the shadow bigger (positive) or smaller (negative). Separate several shadows with commas; the first one is drawn on top.
Use low opacity (5–20%), keep the light source consistent (usually from the top, so y is positive), use a small negative spread for large blurs, and layer two shadows: one close and sharp, one far and soft.
Shadows are cheap for static elements. Animating large blurred shadows can be slow on mobile; animate opacity of a pseudo-element with the shadow instead.
In order: horizontal offset, vertical offset, blur radius, spread radius and colour. Add 'inset' to draw the shadow inside the box.
Click + to add a layer. Layers are joined with commas in the CSS, and the first layer is drawn on top.
Real shadows are soft. Two layers at 10–15% opacity look more natural than one dark shadow.
Yes. box-shadow with rgba colours is supported by every modern browser without prefixes.
Yes. CSS Box Shadow Generator on Klipza is completely free with no account, no subscription and no watermark on your files, and there is no daily usage limit.
Most file tools process locally in your browser. AI features and online lookups send the inputs needed to connected services. Check the tool's limitations and Privacy Policy before submitting sensitive information.
Yes. It is fully responsive and runs in any modern browser on Android, iPhone, iPad, Windows and macOS — nothing to install.