run keyframes-animation on click more than once

余生颓废 提交于 2019-12-02 06:51:53
Max Girkens

You could reset your animation with a second keyframe block as suggested here: Css and jQuery: How do I trigger the repositioning of a CSS3-animated element back to where it was before the animation?

Here's also a possible solution on how to reset your animation when it's completed: Is there a callback on completion of a CSS3 animation?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!