扫码关注官方订阅号
html的css样式中页面滚动到指定位置时候,animation才触发,如何写?现在我的animation当页面加载时候,就开始执行动画了,等我页面滚到指定位置时候,动画老早时间过去了。。。
在angular中使用?控制台跳出错误:
认证0级讲师
通过检测scrollTop
检测scrolltop 然后加上对应animation的 class
可以参考这个:https://github.com/matthieua/WOW
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
通过检测scrollTop
检测scrolltop 然后加上对应animation的 class
可以参考这个:https://github.com/matthieua/WOW