CSS Gradients Playground

Wulan’s dip-dyed cloth on the bamboo frame: write a linear, radial or conic gradient, the browser reads the value, and the gradient line, rings and rays of…

Why it matters

Gradients are in heroes, buttons, badges and charts. Knowing colour stops and the gradient line lets you make backgrounds with no image, plus tricks like hard lines, stripes and pie charts with conic-gradient, all pure CSS.

The key idea

A gradient is an image, and it is all about colour stops

Common mistakes

Try it in this playground