master
nav { background: #eee; display: flex; } a { padding: 10px; text-decoration: none; color: black; } a:hover { background-color: darkgray; } .active { background-color: lightgray; }