Box Shadow Generator

Build multi-layer CSS box shadows with a live preview.

Runs entirely in your browser
  • Layer 1
    0px
    10px
    20px
    -5px
CSS
box-shadow: 0px 10px 20px -5px #00000033;
Tailwind
shadow-[0px_10px_20px_-5px_#00000033]

FAQ

Why stack multiple layers?
Real shadows have both a soft ambient blur and a tighter directional shadow. Two or three layers with different offset/blur/spread combinations look much more natural than a single layer.
What does inset do?
Draws the shadow inside the element instead of outside — useful for pressed/inset UI states or subtle inner glows.

Related tools