Skip to main content
Uttir

CSS Box Shadow Generator

Visually design CSS box-shadows. Adjust offset, blur, spread, color, and inset. Stack multiple shadows for layered effects. Get the generated CSS instantly.

CSS Box Shadow Generator — Design CSS box-shadows visually. Adjust horizontal and vertical offset, blur, spread, color, and inset. Stack multiple shadows for layered effects (drop shadow + inner highlight + soft glow). The generated CSS is copy-paste ready.

Shadow values are computed in your browser. No upload, no tracking.

Was CSS Box Shadow Generator useful?

What is CSS Box Shadow Generator?

Design CSS box-shadows visually. Adjust horizontal and vertical offset, blur, spread, color, and inset. Stack multiple shadows for layered effects (drop shadow + inner highlight + soft glow). The generated CSS is copy-paste ready.

Common uses: card elevation (Material-style), neumorphism, focus rings, hover effects, hero text shadows, image frames. Layering 2-3 shadows gives the most natural-looking results.

How to use it

  1. Adjust the controls

    Move the offset, blur, spread, and color sliders. The preview updates live.

  2. Add layers

    Click "Add shadow" to layer multiple shadows. Each layer can have its own color and offset.

  3. Copy the CSS

    Use the "Copy CSS" button to grab the generated box-shadow value.

Examples

Two-layer ambient + crisp card elevation

Combine a soft ambient drop shadow with a subtle key shadow for depth without harsh grey muddiness.

Layer 1: 0 10px 25px -5px rgba(15,23,42,0.12) · Layer 2: 0 4px 6px -2px rgba(15,23,42,0.06)

Result: box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 4px 6px -2px rgba(15, 23, 42, 0.06);

Inset focus well for text inputs

Render a subtle recessed inner shadow for form controls.

Inset · X: 0 · Y: 2px · Blur: 4px · rgba(15,23,42,0.08)

Result: box-shadow: inset 0 2px 4px 0 rgba(15, 23, 42, 0.08);

Frequently asked questions

Related guides

Related tools