Box Shadow Generator
Craft the perfect CSS box shadow with live sliders and one-click CSS.
box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.25);
Everything runs in your browser, nothing is sent or stored anywhere.
About this tool
Subtle shadows give interfaces depth: cards lift off the page, buttons feel clickable, and modals separate from the content behind them. The JoliTools Box Shadow Generator lets you dial in that effect visually with sliders for horizontal and vertical offset, blur, spread, color, and opacity, plus an inset toggle for inner shadows.
A live preview box updates with every adjustment, so you see the exact result before touching your code. The generated box-shadow declaration uses standard CSS with an rgba() color that respects your chosen opacity, and copies in one click to paste into any stylesheet.
How to use the box shadow generator
- 1Move the offset sliders to position the shadow.
- 2Adjust blur radius for softness and spread for size.
- 3Pick a shadow color and set its opacity.
- 4Enable Inset for an inner shadow instead of an outer one.
- 5Click Copy CSS and paste the box-shadow rule into your stylesheet.
Good to know
The tool is free, private, and runs fully client-side. Whether you want a barely-there card shadow or a dramatic hover effect, you can iterate visually instead of guessing pixel values by hand.
Frequently asked questions
Related tools
More free tools you might find useful.
CSS Gradient Generator
Design linear and radial gradients with live preview and copyable CSS.
GeneratorsColor Palette Generator
Generate harmonious 5-color palettes you can copy in one click.
GeneratorsColor Converter
Convert colors between HEX, RGB, HSL, and CMYK.
Developer ToolsQR Code Generator
Create QR codes for links, Wi-Fi, business cards and more
GeneratorsPart of Generators on JoliTools, free tools, no sign-up.