There are three types of gradients: linear, radial, and conic. The syntax is is declared on either the background (shorthand) or background-image property. To make the gradient go from left-to-right, we pass an additional parameter at the beginning of the linear- gradient() function.
Table of contents
Linear gradientsRadial gradientsConic gradientsRepeating gradientsAccessibilitySpecificationSort: