Box Shadow Generator
Drag the sliders to design a CSS box-shadow and see the result on a live preview. Set the offsets, blur, spread, colour and opacity, make it inset, or stack up to four shadow layers. Copy the CSS when you are happy. Works in English and in Dutch.
Features
- Sliders for horizontal and vertical offset, blur, spread and opacity
- Colour picker and an inset option
- Up to four shadow layers
- Live preview on a light or dark background
How to use Box Shadow Generator
- Move the sliders until the preview looks right.
- Add another layer for a softer, more natural shadow.
- Copy the CSS.
Frequently asked questions
How do I make a soft, natural shadow?
Stack two or three layers: a small, sharp one close to the element and a larger, blurrier one with a low opacity. Add a layer to try it.
What does spread do?
Spread makes the shadow bigger or smaller in every direction before the blur is applied. A negative spread makes the shadow smaller than the element.
What is an inset shadow?
An inset shadow is drawn inside the element instead of behind it. It is often used for pressed buttons and input fields.
Is anything sent anywhere?
No. Everything runs in your browser.
Related tools
CSS Gradient GeneratorMake a linear, radial or conic gradient and copy the CSS. English or Dutch.Color PickerPick a colour from an image or your screen and copy the code.CSS MinifierRemove comments and white space from CSS to make it smaller.Meta Tag GeneratorCreate the title, description, Open Graph and Twitter Card tags for a page.