CSS Box Shadow Generator

Visually design and generate clean, cross-browser compatible CSS code for the box-shadow property. Perfect for buttons, cards, and containers.

1. Shadow Dimensions

2. Color & Opacity

Live Preview

Shadow Target

Generated CSS

How to Use the CSS Box Shadow Generator

The box-shadow property is one of the most effective ways to add depth, hierarchy, and dimension to your web elements. It accepts several values to define the shadow's appearance:

How do I create a glowing effect?

To create a neon glow, set both the Horizontal and Vertical Offsets to 0px. Choose a slight positive Spread Radius (e.g., 2px) and a high Blur Radius (e.g., 20px). Using a bright, vibrant color (like Cyan or Neon Pink) with high opacity will make the element appear to emit light.

What is an Inset shadow?

By default, shadows are "outset" (falling outside the element's bounding box). Toggling the type to "Inset" draws the shadow inside the element, which is perfect for creating pressed buttons, hollow input fields, or etched text effects.

CSS copied to clipboard!