javascript - How to animate images on page scroll? - Stack Overflow

I have a page where I have few images. I would like to know how to animate images as a user scrolls dow

I have a page where I have few images. I would like to know how to animate images as a user scrolls down the page and the images bee visible? Take a look at this page: /?theme=Divi

As you scroll down, each image animates - (fall down, slide in) + Fade. What is this effect called and how it can be achieved? Can it be done with pure CSS3 or JS is also required?

Thanks.

I have a page where I have few images. I would like to know how to animate images as a user scrolls down the page and the images bee visible? Take a look at this page: http://www.elegantthemes./demo/?theme=Divi

As you scroll down, each image animates - (fall down, slide in) + Fade. What is this effect called and how it can be achieved? Can it be done with pure CSS3 or JS is also required?

Thanks.

Share Improve this question asked Jan 30, 2014 at 11:48 BlueboyeBlueboye 1,4944 gold badges27 silver badges54 bronze badges 2
  • css transitions is what u need – deW1 Commented Jan 30, 2014 at 11:50
  • 1 @monners: What is up with people here on stackoverflow? I am just asking for ideas. If you don't have anything to contribute, please refrain from menting. No one asked you to do work for me. If you have a such a problem, go troll somewhere else. – Blueboye Commented Jan 30, 2014 at 11:57
Add a ment  | 

2 Answers 2

Reset to default 1

I found Skrollr.js to be the best tool for on scroll animations.

Check our these two tutorials to get you started with Skrollr:

  • Simple parallax scrolling tutorial
  • How to create a parallax scrolling website

[EDIT] Or you could use scrollReveal.js, it does what it says - reveals elements as you scroll down the page.

Basically Javascript is needed here in order to follow the user scrolling down, and animating when he gets to specific position.

I highly remending using GreenSock animations: http://www.greensock./get-started-js/

You can read more about it here: http://codeaway.info/parallax-and-scrolling-control-of-tweens-with-greensock-ap-js/

Good luck.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745660265a4638791.html

相关推荐

  • javascript - How to animate images on page scroll? - Stack Overflow

    I have a page where I have few images. I would like to know how to animate images as a user scrolls dow

    21天前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信