Bootstrap Tutorial - Create Vertical tab








The following code shows how to create Vertical tab.

Example

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css">
<style type='text/css'>
<!--from w w w  .  ja v  a 2 s .  co  m-->
.tabbable.tabs-left.full-height {
  height: 100%;
}
.nav.nav-tabs.full-height {
  height: 100%;
}
</style>
</head>
<body>
  <div class='tabbable tabs-left full-height'>
    <ul class='nav nav-tabs full-height'>
      <li class='active'><a href="">All</a></li>
      <li><a href="">New</a></li>
      <li><a href="">Featured</a></li>
      <li><a href="">Ending Soon</a></li>
      <li><a href="">Trending</a></li>
    </ul>
  </div>
</body>
</html>

Click to view the demo