滚动时,我正在使用 anijs 为网站上的某些内容制作动画
http://anijs.github.io/
这是我的代码:
data-anijs="if: scroll, on: window, do: bounceInLeft animated, before: scrollReveal, after: removeAnim"
这个动画应该只在页面加载时触发一次
这应该能解决这个问题
after: removeAnim
但它不起作用,每次我上下滚动时动画都会触发
最佳答案
关于html - 只触发一次动画,ani js scrollreveal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24181118/