CSS Shadow Generator
Build a realistic box-shadow from several layers.
Tap a snippet to copy it
How it works
- Tune offset, blur, spread and opacity.
- Add layers for depth.
- Copy the CSS.
Quick answers
- Why use layers?
- Real shadows fade gradually. Two or three light layers beat one heavy one.
- What does inset do?
- It draws the shadow inside the box.