How to use the CSS Box Shadow Generator
Set the offsets, blur, spread and colour. Positive offsets move the shadow right and down.
Examples
- With the default values
box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
- With vertical offset set to 8
box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.15);
Limitations and assumptions
Confirm assumptions, units and applicable local rules before relying on results. Detailed content, accessibility and edge-case review remains ongoing.
Frequently asked questions
What does the CSS Box Shadow Generator do?
Generate a CSS box-shadow from offset, blur, spread and colour.
How does the CSS Box Shadow Generator work?
Set the offsets, blur, spread and colour. Positive offsets move the shadow right and down.
What should I keep in mind when using the CSS Box Shadow Generator?
Confirm assumptions, units and applicable local rules before relying on results.
Can I see an example of the CSS Box Shadow Generator?
Example: horizontal offset 0 px, vertical offset 4 px, blur radius 12 px, spread 0 px and shadow colour “rgba(0, 0, 0, 0.15)” → box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);.
Is the CSS Box Shadow Generator free to use?
Yes. It is free, needs no account and runs in your browser.