Another pie
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Another pie
-
-
Hello everyone, I'm new to gsap so I need some light here.
I'm trying to animate the hero image to fit in the new-hero-container, as you can see so far so good, but the image moves to the container much faster than the scrolling position. I'm trying to figure out how to have it centered both when scrolling down and up (or at least centered as far as possible in this case).
I tried using scroll to but I'm too much of a newbie to figure it out myself. The effect I want is similar as on this website. Any suggestions?
See the Pen zYyWoZg by Sabrina-T (@Sabrina-T) on CodePen
Animating hero to another container with - position on screen is weird
in GSAP
Posted
Precisely what I was looking for, thank you so much!