CSS Box Shadow Generator
Design box shadows and text shadows visually — layered presets, live preview, and copy-ready CSS.
About this tool
A shadow studio for box-shadow and text-shadow in one workspace. Dial in X/Y offsets, blur, spread, opacity, color, and inset for one or more layers — or switch the shadow type to text and the same controls drive the shadow behind the glyphs, with preview-only typography controls that never leak into the CSS. Apply a one-click preset, paste in an existing shadow to edit it, share a link to your exact setup, and copy the result as a declaration, a CSS variable, a bare value, or a Tailwind class.
Writing multi-layer shadow values by hand is slow and error-prone. This generator gives you sliders, editable numeric inputs, and a real preview so you can prototype shadows in seconds and copy clean, production-ready CSS when ready.
Key capabilities
- Ten one-click box presets — Subtle, Soft Card, Elevated, Floating, Modal, Button, Strong, Inset, Glow, Neumorphism — plus nine text-shadow presets
- Add, hide, reorder, and duplicate multiple shadow layers with per-layer color, opacity, blur, spread, and inset
- Copy the output as a plain CSS declaration, a CSS variable, a bare value, or a Tailwind arbitrary class — or download a .css file
- Import an existing box-shadow or text-shadow value and keep editing it; the property prefix picks the mode
- Preview styles for Card, Button, Panel, Input, and Floating over light, white, warm, gray, and dark backgrounds, with preview-only typography controls in text mode
- Create share links that encode the full configuration in the URL fragment — nothing is uploaded
Related Tools
Border Radius Generator
Design asymmetric or elliptical corner geometry.
CSS Gradient Generator
Craft linear and radial multi-stop color gradients.
Color Picker
Pick an exact hex, RGB, or HSL color with live preview.
Contrast Checker
Check WCAG contrast between text and background colors.