Hi, I was wondering if there's a way to get the nav bar hiding after a certain amount of scroll instead of hiding it as soon as the user scrolls down. I cant really get my head around doing this.
On <nav> you need to add the class .detached by default and check with JS once it passes detachPoint = 650 to hide the menu by adding the class .invisible.
Hi, I was wondering if there's a way to get the nav bar hiding after a certain amount of scroll instead of hiding it as soon as the user scrolls down. I cant really get my head around doing this.
Thanks for the awesome work btw