Browse - Programming Tips - Bootstrap: Color when the user hovers on a nav item?

Date: 2018oct10
Library: Bootstrap 4
Language: CSS

Q.  Bootstrap: Color when the user hovers on a nav item?

A.  I've seen really complicated answers but this simple one works for me.
Of course you need to use <li>'s

.nav > li > a:hover{ background-color: red; }