▣

CSS Box Shadow Generator

Design CSS box shadows visually and copy the code. Free, private and instant.

How to use the CSS Box Shadow Generator

  1. Move the sliders for X and Y offset, blur, spread and opacity, and pick a shadow colour.
  2. Watch the preview box change.
  3. Copy the CSS line with the copy button, or select it in the box.

Example

Default output (read from the tool’s code)

  • Defaults: X 0, Y 12, blur 30, spread -6, colour #0e1a24 at 25%
  • CSS: box-shadow: 0px 12px 30px -6px rgba(14, 26, 36, 0.25);

Limitations

  • One outer shadow only. Inset and multiple layered shadows are not supported.
  • The colour is output as rgba, with opacity set by the slider.
  • The copy button gives no confirmation message and may do nothing if your browser blocks clipboard access.

About this tool

Adjust offset, blur, spread and colour with live preview and copy the box-shadow declaration.

CSS Box Shadow Generator is part of ToolStack Hub's Developer Tools. It runs entirely in your browser, which keeps your data private and makes results instant. There is nothing to install and no account to create. There is no usage limit.

Frequently asked questions

Is the CSS Box Shadow Generator free?

Yes. CSS Box Shadow Generator is completely free with no sign-up, limits or watermarks.

Is my data private when I use the CSS Box Shadow Generator?

Yes. It runs in your browser, so your input is not uploaded to our servers.

Does it work on mobile?

Yes. ToolStack Hub tools work on phones, tablets and desktop browsers.

Need this automated for your business?

Vantalume builds custom AI and web automation workflows so your team can stop doing repetitive work.

Talk to Vantalume