CSS Box Shadow Generator
Build soft, realistic shadows from several layers and copy the CSS.
Runs in your browser · No uploads
Shadow layers
Box and background
Ready-made
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to make a box shadow
- Start from a ready-made shadow, or adjust the sliders.
- Add layers: a tight shadow plus a wide, soft one looks most natural.
- Copy the CSS.
Tips
- Low opacity (8 to 20%) and a negative spread give soft, modern shadows.
- Inset shadows look pressed in, for inputs and toggles.
- Change the box and background colors to see the shadow on your own design.
Frequently asked questions
Does box-shadow slow down a page?
Rarely. Very large blurs on many moving elements can, so keep animated shadows simple.
Is anything uploaded?
No. The preview is drawn by your browser.
Related tools
-
Make a CSS gradient
Design linear, radial and conic gradients and copy the CSS. -
Convert color codes
Convert colors between HEX, RGB, HSL, HSV and CMYK, with tints and shades. -
Format or minify CSS
Beautify CSS for reading, or minify it for a smaller file. -
Add a border or round corners
Add a colored border, rounded corners and a soft shadow to one or many images.