if the Viewport is bigger, then the "animtion1" element won’t disappear from screen.
Can I for example use a percent sign like this ( X: -100%)
this is my code bellow
gsap.registerPlugin(ScrollTrigger);
gsap.to(".animation1", {
x: -860,
duration: 12,
scrollTrigger: {
pin: true,
trigger: ".animation1",
markers: {
startColor: "blue",
endColor: "purple",
fontSize: "1rem",
},
start: "100% center",
end: "200% 30%",
scrub: 2
}
});