CSS3 gradient is use to display smooth transitions between two or more specified colors. Before this property, we have to use images for these kind of effects.
The main advantage of using CSS3 gradients is that: you can reduce the downloading time and bandwidth usage. In addition, elements with gradients look better when zoomed.
CSS3 Gradient is of two types:
Example 2: Linear Gradient Directions
Example: Linear Gradient Diogonal Directions.
Linear Gradient using Angle - You can also define an angle, instead of the predefined directions. The angle is specified between -360deg to 360deg.
Ad: