"Navbar example"
Bootstrap 2.3.2 Snippet by emaV

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="navbar"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="#">Samklangular</a> <div class="nav-collapse"> <ul class="nav pull-right"> <li class="active"><a href="#">Home</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Class <b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Search</a></li> <li><a href="#">List</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Account<b class="caret"></b></a> <ul class="dropdown-menu"> <li><a href="#">Account</a></li> <li><a href="#">Login</a></li> <li><a href="#">Logout</a></li> </ul> </li> </ul> </div><!-- /.nav-collapse --> </div> </div><!-- /navbar-inner --> </div>
.dropdown-menu > li { display: inline-block; float:left; } .open > ul { display: inline-flex !important; }

Related: See More


Questions / Comments: