html5 - html的css样式中页面滚动到指定位置时候,animation才触发,如何写?求大神
PHP中文网
PHP中文网 2017-04-17 12:01:28
0
3
331

html的css样式中页面滚动到指定位置时候,animation才触发,如何写?
现在我的animation当页面加载时候,就开始执行动画了,等我页面滚到指定位置时候,动画老早时间过去了。。。

在angular中使用?
控制台跳出错误:

PHP中文网
PHP中文网

认证0级讲师

répondre à tous(3)
迷茫

通过检测scrollTop

巴扎黑

检测scrolltop 然后加上对应animation的 class

左手右手慢动作

可以参考这个:https://github.com/matthieua/WOW

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!