Nav underline animate in and out

Can anybody help?

I’ve managed to get the underline of my navigation to animate in, but I can’t work out how to get it to animate out the opposite way to which it animated in.

Here is my current navigation:
https://menu-underline-b94b27.webflow.io/

Here is the navigation example I am trying to mimic:

Thanks

@Shenny try use move trigger

2 Likes

Thanks @guoshuzhang !!! This works :slight_smile:

https://menu-underline-b94b27.webflow.io/

1 Like