I thought this green class selector thingy was supposed to define that state, but it no longer seems to work, and the line never stays… What is that gree “current” thing called, and how do I define it?
That it has the psuedo-class “Current”. That is all fine, it is supposed to have that white underline. But when the tab is not current, there should be underlined. So what I don’t get is, why do the other tabs as they show in the designer, currently show an underline, even though they aren’t “current”:
For that matter, in the preview, what is making the underline dissappear and reappear on hover? The “Underline” is a different element than this “Nav Link”. Shouldn’t these states be assigned to the parent “Nav link Container” In which case the underline would be set to be not there unless in the hover or current states?
Thanks so much Michael, that helped a lot. I didn’t build this nav myself, but there is something that is lost in your version, and that is in the rollover state for those nav items which you can see on the live site at
I can see that each of these elements has triggered animation