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

+1

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

0

Yo tambien tengo la misma duda!!! help me

0

Marvellous Abia ,hello How did you used it?

0

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