Single page website effect

Recently, I was asked how this effect of changing pages can be achieved. Here is a pen on how to do it with little help from GSAP.

[button url=”http://codepen.io/burnandbass/full/Eicla” style=”green” size=”small” type=”cloud” icon=”check” target=”_blank”] View demo [/button]