How to use the box shadow generator
- Move the sliders for the first layer.
- Add layers for more depth.
- Copy the CSS.
Making shadows look natural
Combine a small, sharp shadow with a large, soft one at low opacity, and keep one light direction across the interface.
Frequently asked questions
What does spread do?
It grows or shrinks the shadow before blurring.
What is an inset shadow?
A shadow drawn inside the box, which looks pressed in.
Do shadows work in dark mode?
They are hard to see on dark backgrounds, so use lighter surfaces to show elevation.