"navbar_test"
Bootstrap 3.3.0 Snippet by tjuly

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Begin Navbar --> <div class="navbar navbar-default"> <div class="container"> <a class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse"> <span class="glyphicon glyphicon-chevron-down"></span> </a> <div class="nav-collapse"> <form class="navbar-form navbar-left" role="search"> <div class="col-md-7"> <input type="text" class="form-control search" placeholder="What are you looking for" id="main-search"> </div> <div class="col-md-5"> <div class="input-group"> <input class="form-control postcode" type="text" placeholder="Enter address"> <input class="form-control distance" type="number"> </div> </div> </form> <ul class="nav navbar-right navbar-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-search"></i></a> <ul class="dropdown-menu"> <div class="container subform-filter"> <form class="form-inline subform" id="filters"> <div class="row"> <div class="center-block"> <input type="text" class="form-control subform" placeholder=""> <input type="text" class="form-control subform" placeholder=""> <input type="text" class="form-control subform" placeholder=""> </div> <div class="row"> <input type="text" class="form-control subform" placeholder=""> <input type="text" class="form-control subform" placeholder=""> <input type="text" class="form-control subform" placeholder=""> </div> <button type="submit" class="btn btn-default pull-right">Reset</button> </div> </form> </div> </ul> </li> </ul> </div> </div> </div><!-- /.navbar -->
.navbar-nav>li>.dropdown-menu { margin-top: 15px; background-color: #2baba8; } .dropdown-menu:before { position: absolute; margin-left: -14px; top: -28px; left: 50%; border: 14px solid transparent; border-bottom: 19px solid #2baba8; } .dropdown-menu:after { content: ''; position: absolute; top: -28px; left: 50%; border: 14px solid transparent; border-bottom: 19px solid #2baba8; } .navbar .navbar-right > li > .dropdown-menu:before, .navbar .nav > li > .dropdown-menu.navbar-right:before {right: 12px; left: auto;} .navbar .navbar-right > li > .dropdown-menu:after, .navbar .nav > li > .dropdown-menu.navbar-right:after {right: 13px; left: auto;} .form-control.search { font-size: 12px; color: #555; background-color: #fff; border-bottom: 1px solid #ccc; border-radius: 4px; } #main-search { font-size: 24px; border: none; background-color: #f3f3f3; border-bottom: 2px solid #5b6261; border-radius: 0; box-shadow: none; padding-left: 15px; padding-right: 15px; color: #5b6261; margin-left: 10px; } .postcode { background: #d8d8d8; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 30px; border-bottom-left-radius: 30px; max-width: 110px; } .distance { color: #fff; background: #2baba8; border: none; border-top-right-radius: 30px; border-bottom-right-radius: 30px; max-width: 100px; } .form-control.subform {margin: 10px 25px; padding: 5px;} @media { }

Related: See More


Questions / Comments: