Each shadow is a complete layer
Comma-separated layers are painted front to back. Combining a narrow dark layer with a broad faint layer can produce a more natural depth cue.
Design box shadows visually with multiple layers and copy the CSS code.
Adjust horizontal offset, vertical offset, blur, and spread.
Pick a color and set the opacity for the shadow effect.
Click copy to grab the generated box-shadow CSS property.
This editor turns horizontal offset, vertical offset, blur radius, spread radius, color, opacity, and inset state into a CSS box-shadow declaration. Multiple layers can be combined, while separate background and box colors make light and dark shadows easier to judge before copying the code.
A concrete input and expected output from the current implementation.
Input
x 4px, y 4px, blur 16px, spread 0px, black at 25% opacity
Expected output
box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.25);
Positive x and y offsets move the shadow right and down. Blur softens the edge, while zero spread keeps the original shadow footprint before blur.
Comma-separated layers are painted front to back. Combining a narrow dark layer with a broad faint layer can produce a more natural depth cue.
An inset shadow is drawn inside the border edge instead of outside the box. It is useful for pressed controls, wells, and internal shading.
Spread grows or shrinks the solid shadow shape before blur is applied. Blur controls softness around that shape.
Yes. CSS accepts comma-separated shadow layers, and this generator produces that syntax when layers are added.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Pick colors visually and convert between HEX, RGB, HSL, and CMYK formats.
Preview how screen colors translate to print with CMYK simulation and proofing.
Preview any Google Font at various sizes, weights, and with custom sample text.
Create linear, radial, and conic CSS gradients with a visual editor and code output.
Generate harmonious color palettes from a base color using color theory rules.
Simulate how colors appear to people with various types of color vision deficiency.