CSS tool

CSS Box Shadow Generator

Set offset, blur, spread, color, and inset. Stack layers, paste an existing shadow, and copy CSS or a Tailwind arbitrary class. It all stays on your device.

Like the tool? Find a bug?Share with us

Generator

Preview

Layers

Layer 1

Color

Supported files: .css
box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.18);
shadow-[0px_10px_30px_-8px_rgb(15_23_42_/_0.18)]
filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.18));

Guide

How this CSS box shadow generator works

01

Layers, not extra markup

CSS box-shadow paints one or more shadows on an HTML box. Each layer is offset, blur, spread, and a color — optionally inset.

02

Preview as you edit

Soft, Sharp, Glow, Inset, Neumorph, and Long are starting points. Paste 0 10px 15px -3px rgb(0 0 0 / 0.1) to reverse a value into sliders.

03

CSS, Tailwind, or filter

Copy a box-shadow declaration, a Tailwind shadow-[…] class, or filter: drop-shadow() for non-inset layers. Nothing leaves the browser.

Use it

What to copy

Use CSS for stylesheets and inline style attributes. Use Tailwind when the rest of the UI is utilities. Filter is for silhouettes and PNGs — it cannot express inset or spread. Multiple layers become a comma-separated list.

FAQ

Questions

Can I edit an existing shadow?

Yes. Paste a box-shadow declaration or just the value. Offset, blur, spread, inset, and common colors map back onto the controls.

Is there a size limit?

Paste is capped at 50,000 characters so a huge dump cannot freeze the tab. Eight layers is the working maximum for a readable shadow stack.

Is my CSS uploaded anywhere?

No. Parsing and preview happen in your browser tab. There is no account and no API call.