How to use the CSS Box Shadow Generator
- 1Move the sliders.
- 2Pick a colour and opacity.
- 3Copy the CSS.
Supported formats and limits
- Single shadow layer.
- Colour output in rgba().
Common uses
- Card and button elevation.
- Soft UI shadows.
- Inset input fields.
Frequently asked questions
Why use negative spread?
A negative spread with larger blur keeps the shadow under the element, which usually looks more natural.
