Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Prajna Shetty

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Newbie

About Prajna Shetty

  • Rank
    Newbie
  1. TweenLite.defaultEase = Linear.easeNone; var ctrl = new ScrollMagic.Controller({ addIndicators: false, vertical: false }); // Create scenes $(".page").each(function(i) { let target1 = $(this).find(".home-banner-img"); let target2 = $(this).find(".banner-brief"); var tl = new TimelineMax(); tl.from(target1, 0.5, { opacity: 0, x: 100 }); tl.from(target2, 1, { scale: 1.2 }, 0); new ScrollMagic.Scene({ triggerElement: this, duration: "80%", triggerHook: 0.5 }) .setTween(tl) .addTo(ctrl) });
×