Gradient
Gradient
List of Content
1. Gradient
2. Linear gradient
3. Radial gradient
4. Conic gradient
Gradient
It lets you display smooth transitions between two or more specified colors.
● Syntax
background-image: linear-gradient(direction, color-stop1, color-stop2, ...);
Radial Gradient
● It is defined by its center.
● To create a radial gradient you must also define at least two color stops.
Syntax