1 /* Remove margins and padding from the list, and add a black background color */
7 background-color: #333;
10 /* Float the list items side by side */
11 ul.topnav li {float: left;}
13 /* Style the links inside the list items */
15 display: inline-block;
19 text-decoration: none;
24 /* Change background color of links on hover */
25 ul.topnav li a:hover {background-color: #555;}
27 /* Hide the list item that contains the link that should open and close the topnav on small screens */
28 ul.topnav li.icon {display: none;}