Pausing CSS animation with javascript and also jumping to a specific place in the animation

后端 未结 2 432
离开以前
离开以前 2020-12-01 22:11

I have an endless slider built entirely with CSS animations and I want to be able to manipulate the animation with javascript (onlcick and keyboard input). I want to be able

2条回答
  •  独厮守ぢ
    2020-12-01 22:51

    Try this:

    http://css-tricks.com/controlling-css-animations-transitions-javascript/

    Hope this has helped solving your problem!

提交回复
热议问题