title: Bootstrap Horizontal Navbar Toggle
body: <p>I prepared simple navbar menu with BS 4 documents. The toggle menu displays vertical when I clicked. Is it possible make horizontal with BS?</p>
  
  <p>This is my navbar and <a href="https://codepen.io/muhammetbalci/full/WMRZXX" rel="nofollow noreferrer">codepen.io</a>: <a href="https://i.stack.imgur.com/uSowj.gif" rel="nofollow noreferrer">vertical toggle</a></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>body {
    margin: 0 auto;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"&gt;&lt;/script&gt;
  &lt;nav class="navbar navbar-expand-md navbar-dark bg-dark"&gt;
    &lt;a class="nav-brand" href="#"&gt;
      &lt;img class="img-responsive" src="https://cdn2.iconfinder.com/data/icons/camping-outline-flat-pt-2/100/069_-_snowboard_snowboarding_board_1-128.png" width="55" height="55" alt="logo"&gt;
    &lt;/a&gt;
    &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#mainNav"&gt;
      &lt;span class="navbar-toggler-icon"&lt;/span&gt;
    &lt;/button&gt;
    &lt;div class="collapse navbar-collapse" id="mainNav"&gt;
      &lt;div class="navbar-nav ml-auto"&gt;
          &lt;a class="nav-item nav-link active" href="#"&gt;ABOUT&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;
          &lt;a class="nav-item nav-link " href="#"&gt;PORTFOLIO&lt;/a&gt;
          &lt;a class="nav-item nav-link " href="#"&gt;CONTACT&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is as I want but I couldn't figured out with source code: <a href="https://i.stack.imgur.com/EaEqN.gif" rel="nofollow noreferrer">horizontal toggle</a></p>