"Lateral pills menu responsive collapse "
Bootstrap 3.2.0 Snippet by ninorene

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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="container">
<nav class="navbar navbar-default navbar-pills" role="navigation">
<div class="container-fluid navbar-pills-container">
<div class="navbar-header collapsed" data-toggle="collapse" data-target="#navbar-pills-collapse">
<span class="icon-sort-down toggle-icon" ></span>
<span class="navbar-title">Title Active</span>
</div>
<div class="collapse navbar-collapse" id="navbar-pills-collapse">
<ul class="nav navbar-nav">
<li class="active">
<a href="#">
<strong>Title Active</strong>
<span class="badge pull-right hidden-xs">3</span>
</a>
</li>
<li>
<a href="#">
<strong>Title 1</strong>
<span class="badge pull-right hidden-xs">34</span>
</a>
</li>
<li>
<a href="#">
<strong>Title 2</strong>
<span class="badge pull-right hidden-xs">36</span>
</a>
</li>
<li>
<a href="#">
<strong>Title 3</strong>
<span class="badge pull-right hidden-xs">301</span>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.navbar-pills {
background-color: #428bca;
color: #ffffff;
border: 0;
padding-left: 0;
padding-right: 0;
margin-top: 10px;
}
.navbar-pills .navbar-header {
display: none;
}
.navbar-pills .toggle-icon {
margin-bottom: 0;
margin-right: 0;
padding-top: 0px;
padding-bottom: 0px;
font-size: 22px;
border: 0;
margin-top: -3px;
float: right;
}
.navbar-pills .navbar-collapse {
background-color: #fff;
border: 0;
padding-right: 0px;
padding-left: 0px;
}
@media (max-width: 982px) {
.navbar-pills .navbar-collapse {
padding-right: 15px;
padding-left: 15px;
}
}
.navbar-pills .navbar-collapse.collapse {
display: block;
}
.navbar-pills .navbar-collapse .nav {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: