The Medium preset
Copies as box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.25); — a soft shadow that sits mostly below the card.
Create CSS box shadows with sliders and a live preview, then copy the code — free online.
About
Builds a CSS box-shadow from sliders for horizontal and vertical offset, blur, spread, colour and opacity, with a live preview and the finished CSS ready to copy.
Designers use it to find a shadow that gives a card or button just the right amount of depth, while front-end developers use it to get the exact box-shadow value instead of guessing numbers in the stylesheet. It's one of many free designer tools on Toolapt, and like every tool here, it's free to use with no sign-up and no limit on how many times you run it.
Examples
3 worked examples
Copies as box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.25); — a soft shadow that sits mostly below the card.
The Sharp preset copies as box-shadow: 6px 6px 0px 0px rgba(0, 0, 0, 1); — a solid offset shadow with no blur, popular in retro and brutalist designs.
Turning on Inset with the default values copies as box-shadow: inset 0px 10px 25px -5px rgba(0, 0, 0, 0.25); and makes the card look pressed in.
FAQ
Quick answers to common questions about the Box Shadow Generator.
It lets you design a CSS box-shadow with sliders and a live preview, then gives you the box-shadow line to paste into your stylesheet.
In order: horizontal offset (positive moves the shadow right), vertical offset (positive moves it down), blur radius (higher is softer) and spread radius (positive grows the shadow, negative shrinks it).
It draws the shadow inside the element instead of outside it, which makes the element look pressed in — useful for input fields and pressed buttons.
A negative spread shrinks the shadow before it's blurred, so it only shows below the element instead of all around it. Most soft, modern card shadows use a slightly negative spread.
CSS allows several shadows separated by commas. This tool builds one at a time — generate each layer and join them with a comma, for example box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 10px 25px -5px rgba(0,0,0,.25);.
Yes. It's free, with no sign-up, no watermark and no limit on how many times you use it.
Yes. The shadow is built and previewed entirely on your own device — nothing is sent to a server.
Did Box Shadow Generator work for you?