Can someone please help me on how to create the animation on the navbar on this link - Home | Xber
There are 2 different animations - 1 during hover the border animates 2 when you scroll to a particular section the border animates.
I was able to create the hover animation but it has bug that when it triggers even on the currently active navlink which I don’t want.
Here the navbar I was able to create — https://nishants-initial-project-12eb7d.webflow.io/
I created this hover animation using two div blocks and add show/hide and move animations.