I want to add this Tweenlite code when my trigger reach the start point. ( I was Using ScrollTrigger )
TweenLite.to("#one", 1, {
// ease: Power4.easeInOut,
ease: Linear.easeNone,
css: {"opacity": "1",
"z-index": "99"
}
});
gsap.timeline({
scrollTrigger:{
trigger:".one",
toggleClass:"active",
start:"top 80px",
end : "bottom top",
scrub:true,
pin:false,
markers:true,}
});