How to get the navbar to show with space in between the options

I would like my navbar to have the options in my navbar split up (to have space in between them) with space but do not know the term of that effect. I am looking to do something like this. I do not how to go for this. My code: https://codepen.io/umalik1910/pen/WLdLPO

I want it like About Me (space) Projects (space) Contact. I actually want three separate navbars in a way not just have space inside the text? Please let me know if I am being clear or not. I would like my navbar to be similar to this type of navbar: https://s3-us-west-2.amazonaws.com/i.cdpn.io/995577.woVZXg.small.e2b2600e-8628-4120-b9ab-8c424a2d9e09.png

Like this?

li{
  display: inline;
  background-color: lightblue;
  font-size: 30px;
  padding: 0.85em;
  margin-right: 1em;
  border-radius: 10px;
}
1 Like

In your CSS you just need to add a padding on your li attribute:

li { padding: 10px; }

Something like this. Not sure about the border-radius, hard to tell from a small image, but I think it may be an uneven radius where the diagonals are different. Or Iā€™m just seeing things.

li > a {
  color: white;
  text-decoration: none;
}

li {
  display: inline;
  background-color: #B54E54;
  font-size: 30px;
  padding: 20px;
  border-radius: 1px 4px 1px 4px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
}

li:not(:last-of-type) {
  margin-right: 10px;
}