CSS Box Shadow Generator

Build CSS box shadows visually with stacked layers, presets, and inset toggle. Live preview, 50-shadow gallery, copy production-ready CSS.

Preview Box
12
box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.15);

layersShadow Layers (1)

0
4
15
0
15%
#000000

stylePresets

collectionsShadow Gallery

50 professionally crafted shadows. Click any to apply it to the generator above.

shopping_bagE-Commerce Cards

forumSocial & Feed

dashboardDashboard & SaaS

webLanding Page

paletteModern & Artistic

What is the CSS Box Shadow Generator?

A CSS box-shadow generator builds the box-shadow declaration the browser needs, with sliders and a live preview so you can dial in offset, blur, spread, color, and opacity by eye instead of guessing. Stacking multiple layers gets you the realistic depth and Neumorphism-style effects that single shadows can't produce.

How to use the CSS Box Shadow Generator

  1. 1

    Adjust the active shadow layer

    Five sliders: offset X, offset Y, blur, spread, opacity. Plus a color picker and an inset toggle for shadows that cut into the box instead of casting outward.

  2. 2

    Stack more layers if needed

    Click + Add Layer to stack shadows. Realistic depth (like the Layered or Dreamy preset) needs 3 to 4 stacked layers; Neumorphism uses an inset white plus an outset black.

  3. 3

    Apply a preset or pick from the gallery

    Eight quick presets cover the basics. The 50-item gallery underneath has shadows organized by use case (e-commerce cards, dashboard widgets, landing-page heroes, modern/artistic).

  4. 4

    Copy the CSS

    The full box-shadow: ... declaration appears under the preview, ready to drop into a stylesheet.

Frequently Asked Questions

Can I add multiple shadow layers?

Yes, as many as you need. Each layer in the panel has its own offset, blur, spread, color, opacity, and inset toggle. Multiple layers are how you build realistic depth (light-direction stacking) and Neumorphism (one inset white shadow + one outset dark shadow).

What are the preset shadows?

Eight quick presets in the panel: Subtle, Medium, Large, Sharp, Dreamy, Neumorphism, Layered, Retro. Below the generator, a 50-shadow gallery groups more options by use case: e-commerce cards, social and feed UI, dashboard and SaaS, landing pages, and modern/artistic styles. Click any to load it into the editor.

What is an inset shadow?

A shadow drawn inside the box's border instead of outside. Toggle the Inset switch on any layer to flip its direction. Common uses: pressed-button effects, neumorphism inner highlights, recessed input fields. Combining inset and outset shadows on the same layer stack creates the soft 3D look.

Related Tools