ViewEarn.Find a tool ↗

CSS Box Shadow Generator

Preview and generate CSS box-shadow code.

How to use CSS Box Shadow Generator

Set offsets, blur, spread, color and opacity. Copy the resulting declaration.

Using CSS Box Shadow Generator

Change the horizontal offset, vertical offset, blur and spread separately. Use inset for an inner shadow, then copy the generated property into the selector that should receive it.

What to check in the result

The preview shows one element and background. A shadow can look different against a darker surface or when clipped by an ancestor's overflow rule. Check contrast and focus styling in the actual interface.

Questions about CSS Box Shadow Generator

What is the difference between blur and spread?

Blur softens the edge; spread expands or contracts the shadow shape before that blur is applied.

Related tools