I’m looking to create a transition in my navbar, a little after scrolling begins -
very similar to this:
What I don’t understand is what TRIGGER I should use.
I would think SCROLL - but scroll seems to be based on “scroll into view” and “scroll out of view”
Obviously, if the transition is in the navbar, it is “in view” as soon as the page loads… ergo - won’t work how I want it to.
Hi @scottbarbey You are correct. You would need to use a scroll interaction trigger.
When a certain element comes into view, you can animate a different element to do something. It may take some time to fully understand and learn how to harness this great power, but you can do it!
Hi @scottbarbey, that is exactly correct. For example, if you want the navbar to scroll in when you scroll to the digital work header section, you would create an interaction on that element, with the scroll trigger, and on the scroll into view, target the navbar class: