December 19, 2022
Estimated Post Reading Time ~

A short glimpse at "CSS Gradients"

CSS Gradients CSS gradients let you display smooth transitions between two or more specified colors. 

CSS defines three types of gradients:
Linear Gradients (goes down/up/left/right/diagonally) 
Radial Gradients (defined by their center)

CSS Linear Gradients 
To create a linear gradient you must define at least two color stops.


Example of Linear Gradient


CSS Radial Gradients
A radial gradient is defined by its center. To create a radial gradient you must also define at least two color stops.


Example of radial gradients



By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.