# Box Shadow Generator

> Design layered CSS box shadows visually. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/box-shadow-generator

**Category:** [Design](https://toffeekit.com/category/design) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/box-shadow-generator

**Also useful for:** box-shadow, css shadow, drop shadow, inset, elevation, tailwind shadow

## How it works

1. Start with a preset such as Soft, Layered, Lifted, Hard, Inner or Glow, or build your own.
2. Adjust Offset X, Offset Y, Blur, Spread, Opacity and Shadow color for the selected layer.
3. Turn on Inset for an inner shadow, or add up to six layers for a smoother, more natural shadow.
4. Tune the Preview background, card and radius, then copy the CSS or the Tailwind class.

## FAQ

### How do I make a CSS box shadow?

Set offsets, blur, spread and color here and copy the box-shadow line. Paste it into your stylesheet on any element.

### What do the box-shadow values mean?

In order they are horizontal offset, vertical offset, blur radius, spread radius and color. A larger blur softens the edge, and a positive spread makes the shadow bigger than the element.

### How do I make a soft, realistic shadow?

Use several layers with growing offset and blur, like the Layered preset. Stacking a few faint shadows looks more natural than one heavy one.

### How do I create an inner shadow?

Switch on Inset for the layer. The shadow then falls inside the element's edges.

### Can I use more than one shadow on an element?

Yes. CSS accepts a comma-separated list, and this tool supports up to six layers and outputs them in the right syntax.

### Is Box Shadow Generator free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

Box Shadow Generator runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Color Picker & Converter](https://toffeekit.com/tools/color-picker) — Pick a color and convert HEX, RGB, HSL, OKLCH, CMYK.
- [Gradient Generator](https://toffeekit.com/tools/gradient-generator) — Build linear, radial and conic CSS gradients.
- [Contrast Checker](https://toffeekit.com/tools/contrast-checker) — Check WCAG contrast and find passing colors.
- [Palette Generator](https://toffeekit.com/tools/palette-generator) — Make harmonious palettes from one base color.
- [Shade Scale Generator](https://toffeekit.com/tools/tailwind-shade-generator) — Turn one color into a Tailwind 50–950 scale.
- [Border Radius Generator](https://toffeekit.com/tools/border-radius-generator) — Shape corners and blobs with CSS border-radius.

