JohnPaulDesign
6/8/2017 - 4:37 PM

Trigger animations on scroll, speed controlled with scroll bar

Trigger animations on scroll, speed controlled with scroll bar

new ScrollMagic.Scene({triggerElement: "body", duration: "100%", triggerHook: "onLeave", reverse: true})
        .setTween(".social", {y: -50, opacity: 0})
        .addTo(controller);