<nav>
  <ul>
    <li><a class="active" href="/home/">Home</a></li>
    <li><a href="/about/">About</a></li>
    <li><a href="/products/">Products</a></li>
    <li><a href="/our-team/">Our Team</a></li>
    <li><a href="/contact-us/">Contact Us</a></li>
  </ul>
</nav>
body {
  text-align: center;
}

nav {
  width: 250px;
  display: inline-block;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #E91E63;
}

nav li {
  display: block
}

nav li a {
  display: block;
  color: white;
  text-align: left;
  padding: 20px 30px;
  text-decoration: none;
  font-family: sans-serif;
}

nav li a:hover,
nav li a.active{
  background-color: #111;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.