Written by Anonymous
- gsap.registerPlugin(ScrollTrigger);
-
- gsap.from(".ht-ct", {
- scrollTrigger: {
- trigger: ".ht-ct",
- start : "top center",
- end : "bottom center",
- toggleActions: "restart none none none",
- },
- x: 750,
- opacity: 0,
- duration: 0.8
- })