CSS Shadow Generator

Build box shadows and text shadows visually — 100+ presets, live preview, instant CSS copy

box-shadow: 4px 4px 10px 0px rgba(0, 0, 0, 0.2);

Shadow Presets (120)

No Shadow
Flat
Flat Card
Flat
Subtle Lift
Flat
Very Subtle
Flat
Micro
Flat
XS
Small
SM
Small
SM Blue
Small
SM Purple
Small
SM Green
Small
SM Pink
Small
SM Warm
Small
SM Teal
Small
SM Crisp
Small
SM Double
Small
MD
Medium
MD Lifted
Medium
MD Soft
Medium
MD Blue
Medium
MD Purple
Medium
MD Green
Medium
MD Warm
Medium
MD Deep
Medium
MD Layered
Medium
MD Crisp
Medium
MD Float
Medium
MD Teal
Medium
MD Pink
Medium
MD Slate
Medium
MD Card
Medium
LG
Large
XL
Large
2XL
Large
Dramatic
Large
LG Soft
Large
LG Layered
Large
LG Purple
Large
LG Blue
Large
LG Dark
Large
LG Float
Large
Neon Blue
Neon
Neon Green
Neon
Neon Red
Neon
Neon Pink
Neon
Neon Yellow
Neon
Neon Cyan
Neon
Neon Orange
Neon
Neon Purple
Neon
Neon White
Neon
Neon Gold
Neon
Neon Teal
Neon
Neon Lime
Neon
Neon Rose
Neon
Neon Indigo
Neon
Neon Amber
Neon
Neu Light
Neumorphic
Neu Dark
Neumorphic
Neu Pressed
Neumorphic
Neu Pressed Dark
Neumorphic
Neu Flat
Neumorphic
Neu Float
Neumorphic
Neu Concave
Neumorphic
Neu Warm
Neumorphic
Neu Slate
Neumorphic
Neu Deep
Neumorphic
Glass Light
Glass
Glass Dark
Glass
Glass Blue
Glass
Glass Purple
Glass
Glass Teal
Glass
Glass Frosted
Glass
Glass Rose
Glass
Glass Edge
Glass
Inset SM
Inset
Inset MD
Inset
Inset LG
Inset
Inset Top
Inset
Inset Bottom
Inset
Inset Sides
Inset
Inset Well
Inset
Inset Blue
Inset
Inset Purple
Inset
Inset Deep
Inset
Blue Glow
Colored
Purple Glow
Colored
Green Glow
Colored
Red Glow
Colored
Orange Glow
Colored
Pink Glow
Colored
Teal Glow
Colored
Yellow Glow
Colored
Indigo Glow
Colored
Rose Glow
Colored
Cyan Glow
Colored
Lime Glow
Colored
Aa
Text SM
Text
Aa
Text MD
Text
Aa
Text LG
Text
Aa
Text Neon Blue
Text
Aa
Text Neon Pink
Text
Aa
Text Fire
Text
Aa
Text Retro
Text
Aa
Text Outline
Text
Aa
Text Emboss
Text
Aa
Text Deboss
Text
Aa
Text 3D
Text
Aa
Text Glow White
Text
Aa
Text Rainbow
Text
Aa
Text Deep
Text
Aa
Text Stamp
Text
Sunset
Creative
Ocean
Creative
Forest
Creative
Dreamy
Creative
Neon Rainbow
Creative
Layered Depth
Creative
Double Ring
Creative
Glow Pulse
Creative
Retro Hard
Creative
Aurora
Creative

What is CSS Shadow Generator?

The CSS Shadow Generator is a visual tool for crafting 'box-shadow' and 'text-shadow' CSS values. Shadows are one of the most versatile visual effects in CSS — they can convey elevation, create soft glows, add neumorphic depth, draw focus to an interactive element, or separate a card from a background. But writing shadow values by hand is tedious: 'box-shadow' alone accepts up to six parameters (horizontal offset, vertical offset, blur radius, spread radius, color, and the 'inset' keyword), and shadows are often stacked in multiples for richer effects.

This generator provides over 100 curated presets covering material elevation shadows, soft outer glows, hard drop shadows, inner shadows, coloured shadows, and more. Each preset is a starting point that you can customise using sliders: adjust the offsets to change the light direction, increase blur for a softer appearance, modify spread to control shadow size, and pick any color including semi-transparent RGBA values for natural-looking shadows.

For box-shadow, you can layer multiple shadows on a single element and control each layer independently, which is how sophisticated neumorphic and layered-elevation effects are achieved. For text-shadow, you can add multiple layers for neon glow, emboss, or engraved text effects. The preview shows your element with the shadow applied live, and the generated CSS is updated with every change. Copy the complete property value and paste it directly into your stylesheet.

How to Use CSS Shadow Generator

  1. Choose a preset or start fresh

    Select one of the 100+ presets as a starting point or begin with default values and build your own shadow.

  2. Adjust shadow parameters

    Use sliders to set horizontal offset, vertical offset, blur, spread, and colour for each shadow layer.

  3. Preview on a live element

    The preview card updates instantly to show exactly how the shadow will look in a real browser context.

  4. Copy the CSS value

    Click Copy to grab the complete box-shadow or text-shadow property value ready for your stylesheet.

Key Benefits

100+ curated presets

Dozens of production-quality shadow designs covering elevation, glow, neumorphism, and more.

Layer multiple shadows

Stack multiple shadow layers on a single element — the same technique used in material design elevation systems.

Live element preview

See the shadow rendered on a real card element so you can judge depth and subtlety accurately.

Full colour control

Pick any shadow colour including semi-transparent RGBA values for natural, realistic shadow effects.

Frequently Asked Questions

box-shadow applies to the entire element box, following its border-radius. text-shadow applies only to the rendered glyphs of text content. box-shadow supports the spread parameter and the inset keyword; text-shadow does not.

Adding "inset" to a box-shadow draws the shadow inside the element rather than outside. Inset shadows are used for pressed-button states, debossed effects, and inner-glow highlights.

Layering two or three shadows with different blur values and opacities produces softer, more realistic depth that mimics natural light — a technique popularised by Google's material design elevation system.

No. box-shadow is painted outside the layout box and does not affect the size or position of any element. It is safe to animate with CSS transitions without causing reflow or layout thrashing.

Related Tools