title: Navigation bar to the right side of the page
body: <p>I am designing a web page. I have already created the navigation bar but the problem is that I want it on the right side of the page. I have tried using <code>float: right</code> but it does not work. It works perfectly when scrolling the page as it moves to stay in place, but I have not been able to send it to the right side of the page, like for two days.</p>
  <p><a href="https://i.stack.imgur.com/kDHwW.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kDHwW.jpg" alt="enter image description here" /></a></p>
  <p>Thank you in advance.</p>
  <p>Here is my HTML, I am skipping the Hero Section as it is another div.</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>.sideNav {
    height: 100%;
    width: 0;
    background-color: red;
    position: fixed;
    z-index: 1 !important;
    bottom: 4.5vh;
    left: 0;
    background-color: #fff;
    padding-top: 60px;
    float: right;
  }
  
  .sideNav__button {
    padding: 8px 8px 24px 32px;
    text-decoration: none;
    color: white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;body&gt;
    &lt;!-- Navegation bar --&gt;
    &lt;nav class="sideNav d-flex flex-column"&gt;
      &lt;!-- Navegation icons --&gt;
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/inicio_off.png" alt=""&gt;&lt;/a&gt;
  
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/lulu_off.png" alt=""&gt;&lt;/a&gt;
  
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/menu_off.png" alt=""&gt;&lt;/a&gt;
  
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/about_off.png" alt=""&gt;&lt;/a&gt;
  
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/reserva_off.png" alt=""&gt;&lt;/a&gt;
  
      &lt;a class="sideNav__button" href="#"&gt;&lt;img class="navIcon" src="./res/icons/contacto_off.png" alt=""&gt;&lt;/a&gt;
    &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>