CSS Gradient & Box Shadow Generator

Create beautiful CSS gradients and box shadows with a live preview, then copy the ready-to-use CSS code. Free, no signup.

#6366f1
#ec4899
Presets
background: linear-gradient(135deg, #6366f1, #ec4899);

How to use

  1. Choose Gradient or Box Shadow.
  2. Adjust colors, angle, distance, blur, and opacity sliders.
  3. Watch the live preview, then press Copy CSS.

Example

A soft elevated card shadow, popular in modern UI design:

box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

Frequently asked questions

How do I create a linear gradient in CSS?

Use the gradient tab to pick colors and an angle, then copy the generated background: linear-gradient(...) rule.

What does the inset box-shadow do?

Adding inset draws the shadow inside the element instead of outside, creating a recessed or embossed look.

Can I use the generated CSS commercially?

Yes. The output is standard CSS that is yours to use in any personal or commercial project, with no attribution.

More from Design & Images

Browse all 100 tools →

Build custom software with us

From internal tools to full platforms — we deliver end to end.

Was this tool useful?