For Bootstrap 3 this is how I did this based on the default Navbar structure:
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
background-color: #FFFF00;
color: #FFC0CB;
}
More Related Contents:
- Animate/Shrink NavBar on scroll using Bootstrap
- Bootstrap navbar: nothing is displayed on smaller devices
- CSS float-right not working in Bootstrap 4 Navbar [duplicate]
- Importing CSS and Bootsrap in HTML code
- Bootstrap column on mobile positions
- vertical-align with Bootstrap 3
- How to vertically center a container in Bootstrap?
- `col-xs-*` not working in Bootstrap 4
- Twitter Bootstrap 3 Sticky Footer
- Extend bootstrap row outside the container
- Bootstrap – align button to the bottom of card
- Bootstrap: add margin/padding space between columns
- HTML: Changing colors of specific words in a string of text
- Changing highlight color
- How to remove focus around buttons on click
- How to vertically center a Bootstrap carousel-caption?
- Bootstrap – 5 column layout
- Exclude menu item from the collapse of bootstrap 3 navbar
- Bootstrap 4 – Responsive cards in card-columns
- How to implement curve background in CSS? [duplicate]
- Inline Form nested within Horizontal Form in Bootstrap 3
- Same height column bootstrap 3 row responsive
- Bootstrap 3 – How to maximize input width inside navbar
- Why does `transform` break `position: fixed`?
- Change Bootstrap input focus blue glow
- Maintain image aspect ratio in carousel
- Bootstrap 3 Flush footer to bottom. not fixed
- Responsive table handling in Twitter Bootstrap
- Convert RGBA to HEX
- justify-content: space-between failing to align elements as expected