How do I change the color of the active navigation page menu?
Answer
The state of list of items can be changed by changing the background-color CSS property.
Answer
The state of list of items can be changed by changing the background-color CSS property.
- Syntax: background-color: color | transparent;
- Property Values: color: It specifies the background color of element. …
- Syntax : .navbar-nav > .active > a { background-color: color ; }
- Example: html. …
- Output: