"Bootstrap Custom Tab"
Bootstrap 3.3.0 Snippet by dineshbbdeveloper

<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 ----------> <div class=""> <ul class="nav nav-tabs tab-header material-tab" role="tablist"> <li class="active"> <a href="#web" role="tab" data-toggle="tab">WEB</a></li> <li><a href="#images" role="tab" data-toggle="tab">IMAGES</a></li> <li><a href="#videos" role="tab" data-toggle="tab">VIDEOS</a></li> </ul> </div> <!-- Tab panes --> <div class="tab-content white-bg-tabs"> <div class="tab-pane active" id="web"> Web Content </div> <div class="tab-pane" id="images"> Image Content </div> <div class="tab-pane" id="videos"> Video Content </div> </div>
body { background: #f2f2f2; } .material-tab { max-width: 960px; margin: 0 auto; border-bottom: 0px; padding: 0 50px; } .header-inner { padding: 15px 0; max-width: 960px; margin: 0 auto; } .tab-header { background: #EB3137; padding: 0 15px; color: #fff; -webkit-box-shadow: 0px 3px 5px 0px rgba(194,194,194,1); -moz-box-shadow: 0px 3px 5px 0px rgba(194,194,194,1); box-shadow: 0px 3px 5px 0px rgba(194,194,194,1); } .nav.nav-tabs > li > a:focus, .nav.nav-tabs > li > a:hover { background: transparent; outline: 0; } .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:active { background: transparent; color: #FFF; cursor: default; border: 0; } .nav-tabs>li>a { position: relative; color: rgba(255, 255, 255, 0.7); border: 0px; font-weight: bold; padding: 12px 15px 14px 15px; } .nav-tabs>li >a:hover { color: rgba(255, 255, 255, 0.8); background: transparent; } ul.nav-tabs>li.active>a:after { display: block; content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: white; } .tab-content.white-bg-tabs { padding: 15px; } .tab-content.white-bg-tabs .tab-pane { max-width: 960px; margin: 0 auto; background: white; padding: 10px; text-align: center; -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1); box-shadow: 0 2px 4px rgba(0,0,0,0.1); color: #ddd; }

Related: See More


Questions / Comments: