DevToolBox
CSS Tools

Box Shadow Generator

Create CSS box-shadow values with adjustable offsets, blur, and color.

Processing and previews run locally in your browser. CSS is not uploaded to a server, and live previews are isolated to the preview element.

Presets

Layer 1

Live preview
Preview
54 chars · 2 lines

How to use

  1. 1Adjust offset, blur, spread, color, and opacity for each layer.
  2. 2Add more layers or load a preset.
  3. 3Copy or download the generated box-shadow CSS.

Notes

  • Multiple layers are combined into a single box-shadow declaration.
  • Opacity is applied by converting the chosen color to rgba().

Behavior details

  • Supports inset layers, negative offsets, blur, and spread.
  • Presets can be customized after loading.

Frequently asked questions

What is the Box Shadow Generator?

The Box Shadow Generator is a free DevToolBox utility that processes data locally in your browser.

Are my inputs stored?

No. This tool processes data in your browser and does not upload your input to a DevToolBox server.

Do I need an account?

No account is required to use this tool.

Can I create inset and multi-layer shadows?

Yes. Each layer can be inset, and multiple layers are combined into one box-shadow declaration.

Related CSS tools

View category