简体   繁体   中英

How to stop Animation on scrolling?

When I scroll down my page three boxes appears on scrolling which is perfect. But when I scroll up my page those three boxes goes disappear and I will have to scroll down again for appearing those boxes. I just wanted to animate boxes only once, If I scroll up page, those boxes should not be disappear.

Link is here http://www.shahfahad.com/scrol/demo/scrol.html

set All boxes in on div

 <div class="aos-item" data-aos="fade-up"> <div class="aos-item" data-aos="fade-right"> <div class="aos-item__inner"><h3>42</h3></div> </div> <div class="aos-item" data-aos="fade-left"> <div class="aos-item__inner"><h3>42</h3></div> </div> <div class="aos-item" data-aos="fade-up"> <div class="aos-item__inner"><h3>1</h3></div> </div> </div> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM