Hello guys,
I'm implement this animation for my heading 1. From y: -20 to y: 0. As I expect that it should move bottom up, but actually, it moves top down. Why gsap axis's value directions is so different. Can you guys instruct me, thanks!
gsap.fromTo(
"h1",
{
opacity: 0,
y: -20,
},
{
opacity: 1,
y: 0,
duration: 0.6,
ease: "power1.out",
delay: 1.5,
stagger: 0.2,
}
)