CSS box shadow generator — soft, realistic shadows
Sliders for horizontal and vertical offset, blur, spread, colour and opacity — with a live card preview so you can feel the shadow instead of guessing numbers. Inset shadows are one toggle away.
Copy the finished box-shadow line straight into your stylesheet. Layered, soft shadows are the difference between a flat page and a designed one.
Open the free css box shadow generator on Zentpal — free, no sign-in needed, and it runs in your browser.
How to use it
- Move the sliders until the card’s shadow looks right.
- Toggle inset if the shadow should sit inside.
- Copy the CSS.
Frequently asked questions
What do the four numbers mean?
Offset-x, offset-y, blur radius and spread radius, in that order — then the colour. Example: 0 10px 25px -5px rgba(0,0,0,0.2) is a soft shadow floating below the element.
How do I make a shadow look natural?
Keep it soft (generous blur), light (low opacity, rarely above 0.25), and offset mainly downward — matching light from above, the way real shadows fall.
Can an element have two shadows?
Yes — separate shadow definitions with commas. A tight dark shadow plus a wide faint one is the classic “designed” combination.
Related free tools
- CSS gradient generator — gradients without guessing
- Color converter — one colour, every format
- CSS minifier & beautifier — smaller files, readable code
Community feed · Chat rooms · Free tools · Local shops · About · Privacy