Add Your Heading Text Here

Add Your Heading Text Here

let config = {strength: 1};

gsap.set(“h1”, {xPercent: -50, x: -1});

gsap.to(“h1”, {
repeat: -1,
yoyo: true,
x: 1,
duration: 0.2,
ease: “power1.inOut”,
modifiers: {
x: gsap.utils.unitize(value => value * config.strength, “px”)
}
});

gsap.to(config, {
strength: 100,
ease: “none”,
scrollTrigger: {
// defaults to using the window as the trigger, starting at the top, ending at the bottom.
scrub: true
}
});

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.