Web / CSS

Shadow Generator

Create CSS shadows for box-shadow and text-shadow with a live preview. The tool helps with cards, buttons, text, overlays and UI elements.

Generator

Configure shadow

All settings are processed locally in the browser. No input is sent to the server.

Shadow type
Values
Color and output
Shadow preview
Current value box-shadow

Adjust the sliders to change the shadow live.

    CSS code

    Output

    box-shadow

    For cards, panels, buttons and overlays. The values consist of X offset, Y offset, blur, spread and color.

    text-shadow

    For headings, hero sections and subtle readability improvements on images. Spread is not used for text shadows.

    Subtle shadows

    For modern interfaces, larger blur values with low opacity often feel calmer than hard, dark shadows.