Linear gradient

A background that fades between colors along a line.

What is a linear gradient?

A linear gradient is a background that fades from one color to another along a straight line.

.banner { background: linear-gradient(to right, #ff7e5f, #feb47b); }

Level: Apprentice · More CSS terms at this level

Updated