"Sidebar toggle navigation"
Bootstrap 3.3.0 Snippet by xrozix

<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 ----------> <div class="wrapper"> <div class="sidebar-wrapper"> <ul class="sidebar-nav"> <li data-target="#item1" data-toggle="tab"> item1 </li> <li data-target="#item2" data-toggle="tab"> item2 </li> <li data-target="#item3" data-toggle="tab"> item3 </li> <li data-target="#item4" data-toggle="tab"> item4 </li> <li data-target="#item5" data-toggle="tab"> item5 </li> </ul> </div> <div class="content-wrapper"> <div class="tab-content"> <div class="tab-pane" id="item1"> Its for item1 </div> <div class="tab-pane" id="item2"> Its for item2 </div> <div class="tab-pane" id="item3"> Its for item3 </div> <div class="tab-pane" id="item4"> Its for item4 </div> <div class="tab-pane" id="item5"> Its for item5 </div> </div> </div> </div>
html,body{ height:100%; min-height:100%; } .wrapper{ width:100%; height:100%; } .sidebar-wrapper{ position:fixed; width:200px; height:100%; background:lightblue; } .content-wrapper{ padding-left:200px; } .sidebar-nav{ list-style:none; }

Related: See More


Questions / Comments: