Free Online CSS Box Shadow Generator
Add one or more shadow layers, adjust them with sliders, and copy the CSS.
How to use the Box Shadow Generator?
Manage Layers
Two or three soft, low-opacity layers often look more natural than one heavy shadow.
Adjust Properties
Edit the horizontal and vertical offset, blur, spread, colour and opacity of the selected layer.
Copy Code
Copy the CSS. It has the standard box-shadow line plus -webkit- and -moz- versions, which current browsers do not need.
What is an Inset Shadow?
An Inset Shadow appears inside the element rather than outside. It creates a "hollow" or "pressed" effect, which is often used on input fields.
Key Features
- Add and delete shadow layers
- Colour and opacity per layer, output as rgba()
- Inset option for each layer
- Preview box, canvas colour and radius settings
Frequently Asked Questions
Why use multi-layered shadows?
Several soft, low-opacity shadows stacked together often look more natural than one heavy shadow, because real shadows are darker near the object and fade out further away.
Difference between Blur and Spread?
Blur makes shadow edges soft and fuzzy. Spread increases the actual size of the shadow before blur is applied.