Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    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

    1. Move the sliders until the preview looks right.
    2. Add another layer for a softer, more natural shadow.
    3. 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