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.
CSS Animation Generator
Build CSS @keyframes animations from ready-made presets, tune duration, easing, delay, iteration, direction and fill mode, and copy production-ready CSS with a live preview.
CSS Filter Generator
Visually compose CSS filters — blur, brightness, contrast, grayscale, saturate, sepia, invert, hue-rotate and opacity — on a live image preview, then copy clean CSS.
Glassmorphism Generator
Design frosted-glass UI cards with live backdrop-blur, transparency, saturation, border and shadow controls — copy ready-to-use CSS or Tailwind.