Active Navigation. | Sololearn: Learn to code for FREE!


Active Navigation.

I want to create a navigation bar with the current link having a different color from other links. I have tried the css pseudo class :active, it's not working.

2/25/2020 7:04:51 PM

Marvellous Abia

3 Answers

New Answer


Yo tambien tengo la misma duda!!! help me


Marvellous Abia ,hello How did you used it?


set the class for all links, for example: nav-list__item, and add the nav-list__item – active modifier to the active link. and set a different style for this class