Linear gradient
A linear-gradient transitions colors along a straight line. The angle (in deg, rad, or turn) defines the direction. 135deg is a diagonal from the top-left to bottom-right.
background: linear-gradient(
135deg,
#6366f1 0%,
#ec4899 100%
);