title: Getting space between navbar list items
body: <p>I'm trying to make a navbar but have problem getting space between the list items. I tried using <code>justify-content: space-between</code>; but it didnt solve it. Im using CSS flexbox and this is how I did it:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.NorMenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  #header {
    background-color: black;
  }
  
  nav {
    padding-top: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
  }
  
  li a {
    color: red;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;header id="header"&gt;
    &lt;nav&gt;
      &lt;ul class="NorMenu"&gt;
        &lt;div class="logo"&gt;&lt;a href="index.html"&gt;Logo&lt;/a&gt;&lt;/div&gt;
        &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="Contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;
        &lt;li&gt;&lt;a href="elements.html"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/nav&gt;
  &lt;/header&gt;</code></pre>
  </div>
  </div>
  </p>