In this tutorial you’ll make a list of posts from which the first and last element in the viewport ‘fold’ in and out. To make this, you’ll use some vanilla.js for the viewport detection and Greensock’s TweenLite for the animations.
Demo:
Check out this Pen!
GIPHY App Key not set. Please check settings