Generate CSS box-shadow effects visually with a real-time preview canvas.
Shadow Settings
Horizontal Offset (10px)
Vertical Offset (10px)
Blur Radius (5px)
Spread Radius (0px)
Preview
CSS Code
-webkit-box-shadow: ; -moz-box-shadow: ;
The CSS Box Shadow Generator allows you to easily create and preview CSS box-shadow effects. The box-shadow property adds shadow effects around an element's frame.
The box-shadow property is supported by all modern browsers. For maximum compatibility with older versions, we also generate the -webkit- and -moz- prefixes.
X: 0, Y: 4px, Blur: 20px, Spread: 0, Color: rgba(0, 0, 0, 0.08)
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
Produces a soft, modern floating card effect without harsh muddy borders.
Yes. CSS allows comma-separated shadow layers: `box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 8px 16px rgba(0,0,0,0.1);` for rich realistic depth.
Blur radius softens and feathers the edges outward; spread radius physically expands or contracts the solid size of the shadow footprint.
Explore more free utilities in CSS
CSS Unit Converter
Convert between Px, Rem, Em, and Percentage units.
Open
CSS Glassmorphism Generator
Generate CSS glassmorphism effects (frosted glass) visually.
Open
CSS Clip-path Generator
Generate CSS clip-path shapes visually.
Open
CSS Loader Generator
Generate CSS-only loading spinners and animations.
Open
CSS Cubic-Bezier Generator
Visually create CSS transition timing functions.
Open
CSS Triangle Generator
Generate pure CSS triangles using borders.
Open