title: "Position: fixed" in CSS changes "justify-content-end"
body: <p>I'm trying to make a navigation bar with the content on the right of the page. This worked until I added position:fixed in CSS. After I added position:fixed, the content got relocated to the left of the page. Can someone tell me why this happened?</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>.header {
    position: fixed;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="header"&gt;
    &lt;ul class="nav nav-pills justify-content-end"&gt;
      &lt;li class="active"&gt;&lt;a data-toggle="pill" class="nav-link active" href="#"&gt;About&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt; &lt;a data-toggle="pill" class="nav-link" href="#"&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a data-toggle="pill" class="nav-link" href="#"&gt;Contact&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>