CSS can be used to style navigation bars, which are typically used for site menus and links to various sections of a website.
nav ul {
list-style-type: none;
padding: 0;
background-color: #333;
}
nav ul li {
display: inline-block;
}
nav ul li a {
color: white;
padding: 15px;
text-decoration: none;
}
nav ul li a:hover {
background-color: #111;
}
Supported by all modern browsers.