If you just want to animate background position on hover it's a lot easier to use a transition instead of keyframe animations.
Get Css Background Position Animation On Hover
Background. Css transitions allows you to change property values smoothly (from one value to another), over a given duration. However this site provides a pleasing approach for a animated kind of feel on hover if you use a background image rather than a css3 gradient and style it.
Wave Animation Effects With Html Css Plantpot from plantpot.works
Css gradient background animation source code. A parent container and inside of it a child element which will have an next, the css. To animate it, we simply use transition on the child element.
I could not find any cool background transitions for hover with simple css, here is a few things i played with.
October falling leaves css animation css no javascript. Chrome, edge, firefox, opera, safari. Animation on gradients aren't supported yet. If you just want to animate background position on hover it's a lot easier to use a transition instead of keyframe animations.