Build CSS box shadows visually with live preview. Control offset, blur, spread, color, and multiple layers. Copy ready-to-use CSS instantly.
box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.25);The CSS box-shadow property adds shadow effects around an element's frame. A shadow is defined by its horizontal offset, vertical offset, blur radius, spread radius, color, and an optional inset flag. Multiple comma-separated shadows can be stacked to create layered effects, and the property is supported by all modern browsers without vendor prefixes.
Adjust the sliders and color picker to configure each shadow layer. The preview box updates live as values change. Multiple shadow layers can be added and removed independently. When satisfied, click Copy to get the complete box-shadow CSS value ready to paste into a stylesheet.
Use the presets as starting points for common patterns: card shadows for UI components, elevated shadows for modals, soft shadows for subtle depth, and hard shadows for a flat design aesthetic. The inset option creates inner shadows useful for pressed-button states and inset input fields.