← Back to tools

CSS Box Shadow Generator

Build and preview CSS box shadows with offset, blur, spread, and color controls.

Feedback

Was this tool useful?

Overview

Design CSS box shadows visually with offset, blur, spread, color, and opacity controls, then copy the resulting CSS. Useful for cards, modals, and depth effects.

How to use

  1. Adjust horizontal and vertical offsets.
  2. Tune blur, spread, color, and opacity while watching the preview.
  3. Copy the generated box-shadow CSS into your project.

Examples

Notes

FAQ

What does the spread value do?
Positive spread expands the shadow in every direction before blur is applied; negative spread shrinks it.
Can I layer multiple shadows?
Yes. CSS accepts comma-separated shadows. Generate each layer here and combine them manually.
Do shadows hurt performance?
Static shadows are GPU-accelerated and cheap. Heavy animated shadows are the main thing to avoid.

Embed this tool

Paste this iframe into any HTML page to embed CSS Box Shadow Generator on your site:

Related Tools