"Named panel with nav tabs"
Bootstrap 3.2.0 Snippet by nilopc

<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"> <div class="page-header"> <h1>Panels with nav tabs.<span class="pull-right label label-default">:)</span></h1> </div> <div class="row"> <div class="col-md-12"> <div class="panel with-nav-tabs panel-default"> <div class="panel-heading"> <span class="nav-tab-title pull-left">ImagenDex</span> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1default" data-toggle="tab">Gen. I</a></li> <li><a href="#tab2default" data-toggle="tab">Gen. II</a></li> <li><a href="#tab3default" data-toggle="tab">Gen. III</a></li> <li><a href="#tab4default" data-toggle="tab">Gen. IV</a></li> <li><a href="#tab5default" data-toggle="tab">Gen. V</a></li> <li><a href="#tab6default" data-toggle="tab">Gen. VI</a></li> </ul> </div> <div class="panel-body"> <div class="tab-content"> <div class="tab-pane active" id="tab1default">Default 1</div> <div class="tab-pane" id="tab2default">Default 2</div> <div class="tab-pane" id="tab3default">Default 3</div> <div class="tab-pane" id="tab4default">Default 4</div> <div class="tab-pane" id="tab5default">Default 5</div> <div class="tab-pane" id="tab6default">Default 6</div> </div> </div> </div> </div> </div> <br/>
.nav-tab-title { padding: 10px 30px 0 10px; font-weight:bold; } /*********************************************/ .panel.with-nav-tabs .panel-heading{ padding: 5px 5px 0 5px; } .panel.with-nav-tabs .nav-tabs{ border-bottom: none; } .panel.with-nav-tabs .nav-justified{ margin-bottom: -1px; } /********************************************************************/ /*** PANEL DEFAULT ***/ .with-nav-tabs.panel-default .nav-tabs > li > a, .with-nav-tabs.panel-default .nav-tabs > li > a:hover, .with-nav-tabs.panel-default .nav-tabs > li > a:focus { color: #777; } .with-nav-tabs.panel-default .nav-tabs > .open > a, .with-nav-tabs.panel-default .nav-tabs > .open > a:hover, .with-nav-tabs.panel-default .nav-tabs > .open > a:focus, .with-nav-tabs.panel-default .nav-tabs > li > a:hover, .with-nav-tabs.panel-default .nav-tabs > li > a:focus { color: #777; background-color: #ddd; border-color: transparent; } .with-nav-tabs.panel-default .nav-tabs > li.active > a, .with-nav-tabs.panel-default .nav-tabs > li.active > a:hover, .with-nav-tabs.panel-default .nav-tabs > li.active > a:focus { color: #555; background-color: #fff; border-color: #ddd; border-bottom-color: transparent; } .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu { background-color: #f5f5f5; border-color: #ddd; } .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a { color: #777; } .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:hover, .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > li > a:focus { background-color: #ddd; } .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a, .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:hover, .with-nav-tabs.panel-default .nav-tabs > li.dropdown .dropdown-menu > .active > a:focus { color: #fff; background-color: #555; } /********************************************************************/ }

Related: See More


Questions / Comments: