Hey all! First time posting here and would really appreciate some help.
I’m looking to recreate something similar to the nav shown on this website: Envoy Design Agency
When a user scrolls down the page a certain amount, I’d like to play an animation to:
- Widen the nav bar
- Hide the nav items and reveal the hamburger icon
- For the purpose of having a sticky nav that’s out of the way of content
I am able to accomplish those as a Page scrolled - “When scrolled down” animation, but my issue is I want the full menu to return once the user reaches a certain area near the top of the page (not just when they scroll up in general). You can see this functionality on the site provided.
Would I use a different animation type on scroll up? Or a different animation type in general for the entire interaction?
Appreciate any help I can get! Thanks