I want this: When I am on the page Projects, I want to show a yellow line under the menu-item ‘Projects’ to show viewers that they are on the page ‘Projects’.
But I am not sure how that can be achieved. I tried some things with the state current but that is too simplistic I think. I think I have to do something with animation.
Anyone knows a solution?
I already made a static yellow line to show how it would look like in my preview below.
@Mourik - you can apply styles to the current page using the “Current” selector as you stated, if your need is more complex you may be able to solve with interactions or custom code, but I would need to know specifically what you are trying to accomplish.
I have read it, and it seems more about the animation rather than the end state. It doesn’t mention how the line can stay visible after you clicked the navlink. I hope you still understand me haha