Skip to main content
Alona Tool – Free Online Tools

CSS Box Shadow Generator

Runs in Your Browser

Adjust horizontal and vertical offset, blur, spread, opacity, color and inset, preview the shadow live, and copy the CSS.

Browser-based: this tool works on your device and does not send your input to an Alona Tool server. See the Privacy Policy for details.
Fast Processing

Loading CSS Box Shadow Generator… This tool is an interactive page and needs JavaScript enabled in your browser.

Example Usage & Test Cases

Soft card shadow
Input Scenario:
X 0, Y 10, blur 30, spread 0, opacity 25%, black
Generated Result:
box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.25);

How It Works

1

Move the sliders for offset, blur, spread and opacity.

2

Pick a shadow color and toggle inset if you want an inner shadow.

3

Copy the generated CSS into your stylesheet.

Frequently Asked Questions

This tool builds a single shadow. To layer shadows, generate each one and join them with commas in your CSS.

Good to Know

Common uses

  • Styling cards, buttons and modals
  • Finding a subtle elevation shadow quickly

Limitations and notes

  • Large blur values can be costly to paint on low-end devices when animated.
  • Output is a single rgba() shadow; named colors and CSS variables are not generated.

Related Tools

Free Online CSS Box Shadow Generator

Tune a CSS box-shadow with sliders and see the result immediately instead of guessing values in your stylesheet. The generated declaration uses an rgba() color so opacity is built in.

Key Highlights:

  • Free to use, no signup
  • Instant results
  • Processed in your browser
  • Works on mobile and desktop