"Vertical Tabs with Pills"
Bootstrap 3.2.0 Snippet by tonetlds

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
<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">
<ul class="nav nav-pills nav-stacked col-md-2">
<li class="active"><a href="#tab_a" data-toggle="pill">Pill A</a></li>
<li><a href="#tab_b" data-toggle="pill">Pill B</a></li>
<li><a href="#tab_c" data-toggle="pill">Pill C</a></li>
<li><a href="#tab_d" data-toggle="pill">Pill D</a></li>
</ul>
<div class="tab-content col-md-10">
<div class="tab-pane active" id="tab_a">
<h4>Pane A</h4>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames
ac turpis egestas.</p>
</div>
<div class="tab-pane" id="tab_b">
<h4>Pane B</h4>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames
ac turpis egestas.</p>
</div>
<div class="tab-pane" id="tab_c">
<h4>Pane C</h4>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames
ac turpis egestas.</p>
</div>
<div class="tab-pane" id="tab_d">
<h4>Pane D</h4>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames
ac turpis egestas.</p>
</div>
</div><!-- tab content -->
</div><!-- end of container -->
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

I am looking for a really simple vertical tab, is the CSS available please.

Regards, Brian

Brian Ward-Smith () - 7 years ago - Reply 0