How to make it so that clicking on any of the menu items, the strip of blue (supposedly, you're on this page now)?

July 8th 19 at 12:11
2 answers
July 8th 19 at 12:13
By clicking on the menu item, set its class to active
.navbar {
 border-bottom: blue;

It is about ))
understood, thank you) - arden61 commented on July 8th 19 at 12:16
July 8th 19 at 12:15
If it is an active element{ 
 border-bottom: 1px solid blue;

or so{ 
 border-color: blue;

Accordingly, before the border transparent or color background.

More about border can be read here

Find more questions by tags CSSHTML