The problem with creating animated gradient background is that gradient is not an animatable properties (see w3schools.com) this means you can't just use css keyframes with that.
33+ Css Animated Linear Gradient
Images. Edge supports animating gradients with css, just like ie 10 did back then, but no other browser has added support for this. In a similar fashion, we can also animate radial gradients.
Css Gradient Ripple Effect Background Animation Css Codelab from i2.wp.com
And the really cool thing about the css variable approach is that it allows us to animate different components of the. Basic gradients animation with 3 gradients in queue composed of 2 colors. If you are thinking now how this moving background actually is.
This is why animating css gradients is an issue.
Animation will start at 6. Click on the different states in the gradient animation to see the gradients change. The problem with creating animated gradient background is that gradient is not an animatable properties (see w3schools.com) this means you can't just use css keyframes with that. Basic gradients animation with 3 gradients in queue composed of 2 colors.