"Slide Nav Sidebar "
Bootstrap 3.3.0 Snippet by luisfgx

<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 ----------> <head> <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> </head> <div class="container"> <nav class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <a class="navbar-brand" href="#">Brand</a> </div> </div> </nav> <div class="row"> <div class="col-sm-4 col-md-3 sidebar"> <div class="mini-submenu"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </div> <div class="list-group"> <span href="#" class="list-group-item active"> Submenu <span class="pull-right" id="slide-submenu"> <i class="fa fa-times"></i> </span> </span> <a href="#" class="list-group-item"> <i class="fa fa-comment-o"></i> Comment </a> <a href="#" class="list-group-item"> <i class="fa fa-search"></i> Search </a> <a href="#" class="list-group-item"> <i class="fa fa-user"></i> User </a> <a href="#" class="list-group-item"> <i class="fa fa-folder-open-o"></i> Open </a> <a href="#" class="list-group-item"> <i class="fa fa-bar-chart-o"></i> Chart </a> <a href="#" class="list-group-item"> <i class="fa fa-envelope"></i> Mail </a> </div> </div> </div>
.mini-submenu{ display:none; background-color: rgba(0, 0, 0, 0); border: 1px solid rgba(0, 0, 0, 0.9); border-radius: 4px; padding: 9px; /*position: relative;*/ width: 42px; } .mini-submenu:hover{ cursor: pointer; } .mini-submenu .icon-bar { border-radius: 1px; display: block; height: 2px; width: 22px; margin-top: 3px; } .mini-submenu .icon-bar { background-color: #000; } #slide-submenu{ background: rgba(0, 0, 0, 0.45); display: inline-block; padding: 0 8px; border-radius: 4px; cursor: pointer; }
$(function(){ $('#slide-submenu').on('click',function() { $(this).closest('.list-group').toggle('slide',function(){ $('.mini-submenu').fadeIn(); }); }); $('.mini-submenu').on('click',function(){ $(this).next('.list-group').toggle('slide'); $('.mini-submenu').hide(); }) })

Related: See More


Questions / Comments: