I implement frame-by-frame animation on keyframes. It is necessary that when you hover the mouse, the animation loses to the end and stops, and when you drag the mouse, the animation loses in the opposite direction. Moreover, if the mouse was diverted before the animation ended, then it should immediately begin to play in the opposite direction.

Is it all real? If you need to abandon keyframes, then this option will do. What do you advise?

  • And what kind of animation should be? - Cheg
  • Frame by frame. Or what are we talking about? - Vladimir
  • I meant what transformations occur with the element to which the animation is applied? - Cheg September
  • Vertical bacground position offset. - Vladimir

0