CSS Box Shadow Generator
Build soft, layered CSS shadows visually. Free, no sign-up, works in your browser.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to create a CSS box shadow
- Move the X, Y, blur and spread sliders.
- Pick the colour and opacity, and the corner radius.
- Tick Inset for inner shadows, or Layered for a smoother, more natural shadow.
- Copy the CSS.
Soft, realistic shadows
A single dark shadow looks heavy. Modern designs use low opacity and large blur, or several layered shadows that imitate real light. The preview shows the result live, so you can match your design without trial and error in code.
Paste the copied rule into your stylesheet.
Questions and answers
What is spread?
It grows or shrinks the shadow before blurring.
Why use layered shadows?
They look softer and more natural.
Does it work in all browsers?
Yes, box-shadow is supported everywhere.
Is it free?
Yes, no sign-up.