In the second installment of my Parallax deep dive, I go into how to implement basic parallax on the web. I also discuss some other things to consider when implementing parallax.
We cover the formula of how to offset positions based on an offset, multiplied by the scroll position.
newY = scrollY * offsetY;
We also consider how to deal with scrolling animations on mobile devices with inconsistent scroll events as well as smooth animation using the scroll wheel, utilizing TweenMax.Click here to download the demo.