🌫️

Box Shadow Generator

Tweak shadow offset, blur, spread, colour and opacity with a live preview box.

Horizontal offset0px
Vertical offset10px
Blur radius25px
Spread radius-5px
Opacity25%
box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.25);

Frequently Asked Questions

What do the four numbers mean?

box-shadow takes horizontal offset, vertical offset, blur radius and spread radius, then colour. Positive offsets move the shadow right and down.

What is an inset shadow?

An inset shadow is drawn inside the element instead of outside, creating a pressed or recessed look. Toggle "inset" to preview it.

How do I make a soft, modern shadow?

Use a larger blur (20–40px), a small negative spread, low colour opacity (10–25%) and a modest vertical offset. The "Soft" and "Floating" presets show this style.

Can a shadow use a solid colour?

Yes. Set opacity to 100% for flat design shadows, popular in neo-brutalist styles with zero blur.

Related Tools