D3
OG
Old school D3 from simpler times
All examples
By author
By category
About
dk8996
Full window
Github gist
Fixed search bar using Bootstrap 3.0
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand hidden-xs" href="#">CompAny</a> <a class="navbar-brand visible-xs" href="#">C</a> <form class="navbar-form pull-left" role="search"> <div class="input-group"> <input type="text" class="form-control" placeholder="Search"> <div class="input-group-btn"> <button type="submit" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button> </div> </div> </form> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> <li class="active"><a href="#">Home</a></li> <li><a href="#about">Browse Courses</a></li> <li><a href="#contact">Active Courses</a></li> </ul> </div> <!--/.navbar-collapse --> </div> </div>