How to use this tool
Adjust horizontal and vertical offsets, blur, spread, color and opacity. Choose inset for an inner shadow, add layers where useful, and change the preview background. Copy the generated declaration or use a preset and reset controls.
How it works
CSS box-shadow combines horizontal offset, vertical offset, nonnegative blur radius, signed spread radius and color. Each additional layer is comma-separated in the same order as the preview. Opacity is expressed through an RGBA color.
A QUICK EXAMPLE
Put it into practice.
box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.2); adds a soft outer shadow below the box. Negative spread contracts it; inset places it inside the box.
Good to know
Offsets and spread may be negative; blur cannot. Preview dimensions and surrounding colors affect how a shadow looks in a real layout. Values are bounded to keep the tool responsive. Only box shadows are generated, not text shadows or filter effects.
Common questions
Does the copied CSS match the preview?
Yes. The preview and output use the same validated shadow value, including layer order and inset choices.