Box Shadow Generator
100% FreeVisually craft CSS box-shadow — offset, blur, spread, color, opacity, inset toggle, plus Material-style elevation presets.
box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.251);
Embed This Tool
Easy to EmbedAdd Box Shadow Generator to your website or blog in seconds.
- Responsive design
- Lightweight & fast
- No backend required
- Always up-to-date
<iframe
src="https://tools.town/embed/box-shadow-generator/"
width="100%"
height="600"
style="border:none; border-radius:12px;"
loading="lazy"
title="Box Shadow Generator">
</iframe> Advertisement
How to Use
- 1 Adjust offset X/Y, blur, spread sliders
- 2 Pick a color and opacity
- 3 Toggle 'inset' for inner shadow
- 4 Or click a Material preset (sm/md/lg/xl)
- 5 Copy the CSS rule
Features
- Live preview with the shadow applied
- 5 Material-design elevation presets
- Color picker + separate opacity slider
- Inset shadow toggle
- 100% client-side
Frequently Asked Questions
Outer vs inset shadow — when do I use each?
What's the difference between blur and spread?
Can I stack multiple shadows?
Related Tools You Might Like
Border Radius Generator
Visually craft CSS border-radius with per-corner sliders, live preview, unit toggle (px/em/rem/%), and shorthand collapsing.
CSS Gradient Generator
Build linear and radial CSS gradients with up to 6 color stops, custom angle/position/shape, live preview, and ready-made presets.
Color Palette Generator
Generate harmonious palettes from any base color — complementary, analogous, triadic, tetradic, split-complementary, monochromatic.
Contrast Checker
WCAG 2.1 contrast ratio for any fg/bg pair — pass/fail for AA-normal (4.5), AA-large (3.0), AAA-normal (7.0), AAA-large (4.5).
Color Picker
Native color picker with HEX/RGB/HSL output and recent-colors history. Click the swatch or type a hex — values update instantly.