January 31, 2019
How to use Gradients in CSS?
Using CSS gradients you can make a smooth transitions between two or more specified colors, you can make a best background for your website. CSS defines two types of gradients.
- Linear Gradients – down/up/left/right/diagonally
background-image: linear-gradient(direction, color1, color2,.....);
- Radial Gradients – Defined by their Center
background-image: linear-gradient(circle, color1, color2,......);
for further info watch this complete tutorial…..