Hey guys, I’m trying to get a navigation similar to this one: https://whitetailgin.com that reacts and navigates to different sections in the home. I understand how anchor links work, but I’m having trouble with the positioning and the animations.
The animations. I can make the hover state of the links, but I don’t know how to make them react to the scrolling position (change when you reach the next section). How can you do that?
I found a sort of similar case in the forums, but they were having trouble with some bug (not relevant to my question). I just want to know how to build it
If you don’t mind me asking, there’s one additional specific interaction in the example I’d like to ask if you know:
When the navigation is on top of a white background, it’s lines are blue, but when the section is a color background, the lines and links of the navigation turn white. It’s subtle, but man it looks good. Do you happen to know if that is possible, and how to do it?
@RafTudela did this work for you? because in the example there happens more than a simple changing of the font format.
@vincent how do you create a more complex animation für hover and current states consisting of other elements than the link text (for example these lines next to the links in the example shown by @RafTudela ?