Add your input
Shadow geometry, color, and transparency settings.
Create a balanced shadow and copy the exact CSS declaration.
box-shadow: 0px 18px 45px -12px rgba(15, 23, 42, 0.28);Your work stays private in your browser while you use this tool.
Compose one CSS box shadow from horizontal and vertical offsets, blur, spread, color, opacity, and optional inset mode, with a live preview and copyable declaration.
Shadow geometry, color, and transparency settings.
Create a balanced shadow and copy the exact CSS declaration.
A CSS box-shadow declaration with a live preview.
Soft shadows usually work best with low opacity and a larger blur radius.
Tune low-opacity elevation for a card or floating panel.
Create an inset treatment for a pressed control or recessed surface.
Explore negative spread values that keep a broad blur from looking oversized.
The color input is converted from HEX to integer RGB channels and combined with the opacity percentage as rgba(). The four geometry sliders are serialized in CSS box-shadow order; enabling inset prefixes the value with the inset keyword.
Yes. CSS box-shadow generator is free to use.
Yes. Your work stays private while you use the tool — nothing you enter is uploaded.
It contracts the shadow's base shape before blur is applied. This can keep a large, soft blur visually close to the element.
No. It outputs one shadow. Copy several generated values and join them with commas in your stylesheet when you need layers.