admin管理员组文章数量:1026989
I've added the AOS on scroll javascript to my website. I know that the script is working properly but for some reason the animation that I've added to the logo with the purple background (below the yoga photo) is animating before it's visible in the viewport. I assume this might have something to do with the fact that the height of the top portion of the page is created dynamically based on the viewport, but I'm not totally sure what the issue is.
Here's a link to the website: /
If you scroll down to the bottom of the page you can see the script is working properly with the three-column section. Any ideas on how to fix this? Thanks!
I've added the AOS on scroll javascript to my website. I know that the script is working properly but for some reason the animation that I've added to the logo with the purple background (below the yoga photo) is animating before it's visible in the viewport. I assume this might have something to do with the fact that the height of the top portion of the page is created dynamically based on the viewport, but I'm not totally sure what the issue is.
Here's a link to the website: http://awaken1.thecustompixel./
If you scroll down to the bottom of the page you can see the script is working properly with the three-column section. Any ideas on how to fix this? Thanks!
Share Improve this question asked Sep 10, 2016 at 18:23 Papa BearPapa Bear 431 silver badge5 bronze badges1 Answer
Reset to default 4I see that you removed AOS animation from this logo, if you could add it once again I could check why it's not working. But I think that setting data-aos-offset="0"
on this element might resolve your problem.
I've added the AOS on scroll javascript to my website. I know that the script is working properly but for some reason the animation that I've added to the logo with the purple background (below the yoga photo) is animating before it's visible in the viewport. I assume this might have something to do with the fact that the height of the top portion of the page is created dynamically based on the viewport, but I'm not totally sure what the issue is.
Here's a link to the website: /
If you scroll down to the bottom of the page you can see the script is working properly with the three-column section. Any ideas on how to fix this? Thanks!
I've added the AOS on scroll javascript to my website. I know that the script is working properly but for some reason the animation that I've added to the logo with the purple background (below the yoga photo) is animating before it's visible in the viewport. I assume this might have something to do with the fact that the height of the top portion of the page is created dynamically based on the viewport, but I'm not totally sure what the issue is.
Here's a link to the website: http://awaken1.thecustompixel./
If you scroll down to the bottom of the page you can see the script is working properly with the three-column section. Any ideas on how to fix this? Thanks!
Share Improve this question asked Sep 10, 2016 at 18:23 Papa BearPapa Bear 431 silver badge5 bronze badges1 Answer
Reset to default 4I see that you removed AOS animation from this logo, if you could add it once again I could check why it's not working. But I think that setting data-aos-offset="0"
on this element might resolve your problem.
本文标签: javascriptAOS on scroll animation loading prior to showing in viewportStack Overflow
版权声明:本文标题:javascript - AOS on scroll animation loading prior to showing in viewport - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745659694a2161813.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论