CSS Box Shadow Generator
Design CSS box shadows with up to six layers, presets (soft, layered, retro, glow, neumorphic), inset shadows and Tailwind output.
Design CSS box shadows with up to six layers, presets (soft, layered, retro, glow, neumorphic), inset shadows and Tailwind output.
About this tool
CSS Box Shadow Generator helps you design shadows that make cards, buttons and images look lifted off the page. Begin with a preset: Subtle for borders that barely show, Soft for a gentle floating card, Layered for the natural depth used by modern interfaces, Lifted for a hovering card, Retro for a hard offset shadow with no blur, Glow for a coloured halo, Inner for an inset shadow, or Neumorphic, which pairs a dark and a light shadow on a matching background for the soft “extruded” look. Then fine-tune. Each shadow layer has its own horizontal and vertical offset, blur, spread, colour, opacity and an inset option. Add up to six layers and switch between them; the first layer in the list is drawn on top. Several faint layers usually look more realistic than one dark shadow, because real light makes a sharp shadow close to an object and a soft, wide shadow further away. Negative spread is useful too: it pulls a large blur in from the sides so the shadow sits mainly underneath. You can change the background colour, the box colour and the corner radius of the preview, so you see the shadow on your own design colours. The CSS uses rgba colours so the shadow blends with any background, and a second button copies the same shadow as a Tailwind CSS arbitrary class, such as shadow-[0_10px_30px_-5px_rgba(15,23,42,0.18)]. Everything runs in your browser.

Soft, layered, retro, glow, inner or neumorphic.
Offset, blur, spread, colour and opacity.
Set the background, box colour and corner radius.
As CSS or as a Tailwind class.
Up to six shadows combined.
Including layered and neumorphic.
Pressed and inner effects.
Arbitrary shadow class in one click.
Depth that guides the eye
Separate content from the page.
ExampleThe Layered preset on product cards.
Lift a button on hover.
ExampleSwitch from Subtle to Lifted on :hover.
Bold, hard-edged offset shadows.
Example6px 6px 0 black on a bright card.
Inner shadows make fields look pressed in.
ExampleThe Inner preset on a search box.
Soft beats heavy
5–20% opacity looks natural on light backgrounds.
Two or three soft layers look more real than one.
Use a dark shade of the background colour instead of pure black.
Senior Software Engineer · Developer of Toolyconvert
Hemant developed CSS Box Shadow Generator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.
Last updated 24 November 2026
Featured on
Toolyconvert is listed on these product directories and launch platforms.