We use cookies to enhance your browsing experience.

Learn More
Back to Tools

Box Shadow & Gradient

Create layered box shadows and linear/radial gradients. Export to CSS instantly.

Layers

rgba(0,0,0,0.1)
rgba(0,0,0,0.05)
box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1),
  0px 4px 6px -2px rgba(0,0,0,0.05);
Box Shadow

Box Shadow & Gradient Generator

Getting that perfect card elevation or that smooth gradient background in CSS usually involves a lot of trial and error. You tweak the offset, blur, and spread values, refresh the browser, and repeat — sometimes dozens of times before it looks right.

This generator cuts that cycle down to seconds. On the shadow side, you can stack multiple box-shadow layers to create realistic depth: a tight shadow for closeness, a wide diffused one for ambient light, and even inset shadows for pressed button effects. On the gradient side, add as many color stops as you need and toggle between linear and radial modes.

Every change is reflected live in the preview, so you see exactly what your users will see. When you're happy, just copy the CSS with one click. We've personally used this tool while building Utilyra's own UI — the glassmorphic cards and gradient headers you see across this site were prototyped right here.

How to use

  • 1

    Choose 'Box Shadow' or 'Gradient' mode from the tabs.

  • 2

    For shadows: adjust offset-x, offset-y, blur, spread, and color. Add layers for more depth.

  • 3

    For gradients: add color stops, choose angle or type (linear/radial).

  • 4

    Preview updates in real-time. Click 'Copy CSS' to export.

FAQ

Yes. Stacking 2-3 shadow layers is actually the recommended approach for realistic card elevation in modern design systems like Material Design.

The generated CSS can be used in any framework. For Tailwind, paste the value into the arbitrary value syntax: shadow-[your_value_here].

25+Total Tools
Operations
4Languages
100%Privacy

We use cookies to enhance your experience and serve personalized ads.