Shows how to animate CSS gradients by combining background-position with background-size, since gradients cannot be transitioned directly. Covers a button hover effect, an animated page body and a gradient applied to text.
What you’ll learn
✓Animate a CSS gradient with background-position and background-size