title: Bootstrap 4 Center searchbar in navbar
body: <p>I am trying to centre my search bar inside my navbar. Currently, I have it aligned to the left, But I'm trying to get it in the middle of the navbar.
  This is the HTML code I have:</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-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet" /&gt;
  &lt;nav class="navbar navbar-expand-lg navbar-light bg-light navbar-custom"&gt;
      &lt;a class="navbar-brand" href="#"&gt;ICT-Hulp(Waarschijnelijk logo)&lt;/a&gt;
      &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"&gt;
          &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
      &lt;/button&gt;
  
      &lt;div class="collapse navbar-collapse" id="navbarSupportedContent"&gt;
          &lt;ul class="navbar-nav mr-auto"&gt;
              &lt;li class="nav-item"&gt;
                  &lt;div class="justify-content-md-center"&gt;
                      &lt;form class="form-inline my-2 my-lg-0"&gt;
                          &lt;input class="form-control mr-sm-2" type="text" placeholder="Zoeken..." aria-label="Search" style="width: 600px;"&gt;
                       
                          &lt;button class="btn btn-info my-2 my-sm-0" type="submit"&gt;Search&lt;/button&gt;
                      &lt;/form&gt;
                  &lt;/div&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/nav&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I Can't get the search bar centred. I can't find it on the bootstrap site either because its very vague</p>