Box-shadow generator

Build a CSS box-shadow with sliders for offset, blur, spread, and color. The preview updates live and the CSS is one click away.

Pick a color or paste any HEX value.

box-shadow: 0px 8px 24px -4px rgba(15, 23, 42, 0.15);

Drop into any element’s style.

How to use this tool

  1. 1Adjust the x and y offsets to position the shadow.
  2. 2Tune blur radius and spread to control softness and reach.
  3. 3Pick a shadow color and toggle inset for inner shadows. Copy the CSS when ready.

About this tool

A well-tuned box-shadow gives elements depth without the heaviness of a real drop shadow. Subtle defaults (small offset, medium blur, low opacity) read as "elevation" in modern UI. Inset shadows are great for indicating pressed states or recessed surfaces.

Related tools

FAQ

Frequently asked questions

Short answers to what people ask most.

Reviewing work with your team?

Pin comments directly on a live website or design — no extension, no setup.

Annotate live sites and screenshotsCapture browser, viewport, and CSS contextFree for your first project