Shadow values
| Value | Effect |
|---|---|
| Offset X / Y | Moves the shadow; positive Y looks like light from above |
| Blur | Softens the edge |
| Spread | Grows or shrinks the shadow; negative keeps it under the element |
| Opacity | Lower is subtler; 10–25% suits most UI |
| Inset | Draws the shadow inside, like a pressed button |
Related tools
Frequently asked questions
What makes a shadow look natural?
Low opacity, a large blur, a slight downward offset and two layers.
What does negative spread do?
Shrinks the shadow so it stays tucked under the element.
What is an inset shadow?
A shadow drawn inside the element’s border.
Do shadows hurt performance?
Large blurred shadows on many animated elements can; static shadows are fine.
Can I use multiple shadows?
Yes – separate them with commas; this tool adds an optional second layer.
Should shadows be black?
A dark tint of the background or brand colour often looks better.
Is box-shadow supported everywhere?
Yes, in all current browsers.
What about text shadows?
Use the text-shadow property instead.
Do shadows work in dark mode?
They are less visible; use lighter surfaces or borders to show depth.
Can I use the colour format I like?
Any CSS colour works for the colour field.
Does border-radius affect the shadow?
Yes – the shadow follows the element’s rounded corners.
How do I make an elevation scale?
Create 3–5 shadows with increasing offset and blur.
What unit is used?
Pixels.
Can I copy the CSS?
Yes – the full declaration is ready to paste.
Is it free?
Yes – no sign-up and no watermark.
Does anything get uploaded?
No – it all runs in your browser.
Can I use the output commercially?
Yes – the generated code is yours.
Which browsers support the CSS?
All current versions of Chrome, Edge, Firefox and Safari.
Does it work on a phone?
Yes – the tool and preview are responsive.
Does the preview match my site?
It is close; your site’s fonts and backgrounds may change the look slightly.
Last reviewed: 8 November 2026.