💻 Developer Tools Cross Browser

CSS Box Shadow Generator

10px
10px
15px
-3px
Live Preview
box-shadow: 10px 10px 15px -3px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 10px 10px 15px -3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 10px 10px 15px -3px rgba(0, 0, 0, 0.1);

How to use CSS Box Shadow Generator Online

  1. Adjust the horizontal and vertical offset to move the shadow around the box.
  2. Increase the blur radius for a softer shadow, or decrease it for a hard, solid shadow.
  3. Use the spread radius to grow or shrink the shadow's overall size.
  4. Toggle 'Inset' if you want the shadow to appear inside the box.
  5. Copy the generated CSS code to your clipboard.

Features

Cross Browser Compatibility
The generated code includes -webkit- and -moz- vendor prefixes to ensure your box shadows work perfectly on Safari, Chrome, and older versions of Firefox.

Frequently asked questions

What does the Spread radius do?

A positive spread value will cause the shadow to expand and grow bigger than the box itself. A negative spread value will cause it to shrink.

Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.

Related tools

View all

Share this Tool

Did Box Shadow Generator work well for you?