<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<div class="container-fluid">
<div class="row">
<div class="col col-xs-auto order-md-4">
<ul class="nav nav-pills nav-stacked">
<li><a href="#">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
<div class="navbar d-sm-none">
<button class="navbar-toggler btn-sm fa fa-bars" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"></button>
</div>
</div>
<div class="col col-xs-auto order-md-1">
<div class="navbar-header">
<a class="navbar-brand" href="#">Brand</a>
</div>
</div>
<div class="col col-xs-auto order-md-12">
<form class="navbar-search pull-right">
<div class="input-group">
<input class="form-control border-bottom" id="appendedInput" type="text" placeholder="Search">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div id="navbarSupportedContent" class="navbar-collapse d-xs-none d-sm-block">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>