CSS Box Shadow Generator
Add one or more shadow layers and adjust them while the preview updates. Layered shadows look more natural than a single one.
CSS
How to use this tool
- Adjust the first layer or add more.
- Set the preview colours to match your design.
- Copy the CSS.
How it works
Each layer becomes one comma-separated value of the CSS box-shadow property: horizontal offset, vertical offset, blur, spread, colour (with alpha) and optionally inset.
Limitations
- Large blurs on many elements can slow down scrolling on older phones.
Privacy and data
Everything happens in your browser. Nothing you enter is sent to our server.