Box Shadow Generator
Set the offset, blur, spread and colour of a CSS box shadow, watch it on a box and copy the CSS.
Runs in your browser. Nothing leaves this device.
How to use Box Shadow Generator
- 1Move the sliders for how far the shadow falls, how soft it is and how far it spreads.
- 2Pick the shadow colour and how strong it is. Turn on "Inner shadow" for an inset one.
- 3Copy the CSS line and paste it into your stylesheet.
Questions
What does spread do?
It grows or shrinks the shadow before the blur. A negative spread keeps the shadow tucked under the box, which looks softer.
Does it work in every browser?
Yes. box-shadow works in every current browser without a prefix.
Is anything uploaded?
No. The page builds the CSS in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DesignColour ConverterConvert a colour between HEX, RGB, HSL, HSV, HWB, OKLCH and CMYK, and check its contrast against white and black.
- DesignColour Picker from ImageClick anywhere on an image to get the exact colour as HEX, RGB and HSL, and see its main colours.
- DesignAspect Ratio CalculatorFind the aspect ratio of any width and height, resize to a new width or height at the same ratio, and see megapixels and common sizes.
- DesignBackground & Wallpaper GeneratorMake mesh gradients, grain textures and dot, grid, wave or stripe patterns at any size, then download a PNG or copy the CSS.
- DesignBorder Radius GeneratorRound each corner of a box in pixels or percent, see the shape change and copy the shortest CSS.
- DesignColour Blindness SimulatorSee an image the way people with red, green or blue colour blindness see it, and save the result.