Jump to content
Search Community

ScrollTrigger reposition and resize logo on scroll

fuzzybugs test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

I am struggling to get this effect to work. There is a hero image with parallax that is working. But the logo, which starts full size and fixed to the bottom of the hero container (with a slight overlap of about 75px at the bottom), needs to resize  smaller to fit in the sticky header at the top. This should scrub with the scrollbar and be sticky at the top shortly before the hero is fully scrolled past. I've spent days trying to get this to work, and I can't find any examples anywhere that have helped me get to the bottom of the issue. Any help would be greatly appreciated!

See the Pen eYoMabm by fuzzybugs (@fuzzybugs) on CodePen

Link to comment
Share on other sites

Thank you! I have implemented Flip and now it's finally almost perfect! For some reason, when I scroll back up, the logo doesn't reposition in the correct spot. Trying to troubleshoot that now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...