Question

Hi I found a cool animation on this website:

On the middle of the page (right side) there is a review section that the texts are shown in a cool manner. I want to add that kind of effect on my project I am building now but I am not familiar with the effect type and the algorithm itself. Does anyone knows it and how to code such thing?

Thank you.

No correct solution

OTHER TIPS

You just have two divs with different speed of animation, like this:

HTML

<div class="one"></div>
<div class="two"></div>

jQUERY

$('.one').animate({top:100}, 500);
$('.two').animate({top:200}, 1000);

That's it, you need to set the proper top of course based on the height of the divs (get that dynamically).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top