About CSS Gradient Generator
A CSS gradient is drawn by the browser, not loaded as an image. It scales to any size without blurring, costs no extra network request, and can be animated or changed by a variable — which is why gradients returned to interface design once they became a CSS feature rather than a Photoshop export.
There are three kinds. A linear gradient runs along a line at an angle you choose. A radial gradient spreads outward from a point, in a circle or an ellipse. A conic gradient sweeps around a centre like a clock hand, which is what makes pie charts and progress rings possible without SVG.
Colour stops control everything. Two stops give a smooth blend; adding a third in the middle lets you steer the transition; placing two stops at the same position produces a hard edge, which is how CSS stripes and colour-band effects are made.
How to build a CSS gradient
Pick a gradient type
Linear runs along an angle, radial spreads from a centre point, conic sweeps around one.
Set your colour stops
Change the colours and drag each stop's position. Add up to six stops to steer the blend.
Copy the CSS
The full background-image declaration is generated below the preview, ready to paste.