hello, I do not know why but scrolltriger does not work:
I signed up for the guide on the site,
I work in a typewriter vs and that's the code I wrote down:
But the animation does not work
thanks for ths help
html & js:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width
Hi Eylon,
There's a known regression in the latest version of ScrollTrigger when doing from animations, so you need to add lazy: false to them.
gsap.from(".herman", {
duration: 3,
x: "-50vw",
rotation: -360,
ease: "linear",
lazy: false, // add this
scrollTrigger: {
trigger: ".herman",
markers: true,
start: "top 75%",
end: "bottom 25%"
}
});