CSS Gradient Generator

Build CSS linear and radial gradients in your browser. Adjust angle, color stops, and copy a clean, vendor-prefix-free snippet that's ready to paste into stylesheets.

Processed in your browser · No upload

Loading tool…

Everything happens in your browser. The tool never sends your chosen colors anywhere.

Ad Slot (tool-css-gradient-generator)

FAQ

Is the output vendor-prefixed?
No. Modern browsers all support the unprefixed syntax, so the generator emits only the standard property. If you need to support older browsers, add `-webkit-` yourself.
Can I add more than 2 color stops?
Yes — use the Add stop button. The gradient is recomputed live and the CSS snippet updates immediately.
Why are my radial gradients offset?
Set the position field to e.g. `50% 50%` (center), `0% 0%` (top-left), or `100% 100%` (bottom-right) using CSS `at <position>` syntax.