Box Shadow Generator

Generate CSS box-shadow properties

Average rating 5.0 out of 5, number of ratings: 1

Share this tool

Report a problem

Describe the problem without including private input or files.

How useful was this tool?

How useful was this tool?

Shadow layers

Shadow 1

Preset shadows

Shadow tips

Positive offset values move shadows down and right, negative values move them up and left.

Blur radius creates the softness of the shadow; higher values create more diffuse shadows.

Spread radius expands or contracts the shadow size.

Inset shadows create inner shadows for depth effects.

Multiple shadows can be layered for complex lighting effects.

Lower opacity values create more subtle, realistic shadows.

Live preview

Preview

Preview scale: 100%

CSS declaration

box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);

CSS class

.shadow {
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}

Tailwind CSS (approximate)

shadow

This is a style suggestion. Custom offsets, colors, inset and multiple layers need the generated CSS.

Adjust a layer or try a preset. The preview updates as you work.

About Box Shadow Generator

Our free CSS box shadow generator helps you create professional shadow effects with complete visual control. Adjust offset, blur radius, spread radius, color, and opacity using intuitive sliders and see the result update in real time. Layer multiple shadows together for complex depth effects that make your UI elements pop.

Shadows are essential for establishing visual hierarchy and depth in modern web interfaces. A well-crafted box-shadow can make cards appear to float above the page, buttons feel interactive, and navigation elements stand out from the background. This tool eliminates the trial-and-error of writing box-shadow values by hand.

The generator supports both outer and inset shadows, multiple shadow layers, and includes 6 preset templates for common shadow styles. Output is provided as CSS code with a one-click copy button, along with approximate Tailwind CSS utility class suggestions. The preview updates as you move each slider.