Parallax

on scroll with GSAP

illustration of three people hiking up a mountainillustration of a mountain
illustration of cloudsillustration of the sun

Quick and easy set up:

1. Clone this file to copy the code
2. Add and style your own layout
3. Make sure each part of the illustration has an #ID
4. Update the #IDs in the project settings GSAP code
5. Tweak the values to change the movement for both desktop and tablet
6. Tweak the smoothing number to change, well, the smoothing