November 16, 2020 11:40 pm GMT
Original Link: https://css-tricks.com/a-complete-guide-to-css-gradients/
A Complete Guide to CSS Gradients
Like how you can use the background-color
property in CSS to declare a solid color background, you can use the background-image
property not only to declare image files as backgrounds but gradients as well. Using CSS gradients is better for control and performance than using an actual image (of a gradient) file.
Gradients are typically one color that fades into another, but CSS allows you to control every aspect of how that happens, from the direction and the shape to … Read article “A Complete Guide to CSS Gradients”
The post A Complete Guide to CSS Gradients appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/a-complete-guide-to-css-gradients/
Share this article:
Tweet
View Full Article