Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"bootstrap4 tab"
Bootstrap 4.0.0 Snippet by
parvatheesamthokala
4.0.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
697
 
1 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <html> <head> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> </head> <!--include this header also--> <body> <div class="container"> <div class="row"> <div class="vertical-tabs"> <ul class="nav nav-tabs" role="tablist"> <li class="nav-item"> <a class="nav-link active" data-toggle="tab" href="#pag1" role="tab" aria-controls="home"><i class="fa fa-bars"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag2" role="tab" aria-controls="profile"><i class="fa fa-home"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag3" role="tab" aria-controls="messages"><i class="fa fa-building"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag4" role="tab" aria-controls="settings"><i class="fa fa-calendar"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag5" role="tab" aria-controls="settings"><i class="fa fa-paper-plane"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag6" role="tab" aria-controls="settings"><i class="fa fa-ticket"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag7" role="tab" aria-controls="settings"><i class="fa fa-camera"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag8" role="tab" aria-controls="settings"><i class="fa fa-quote-left"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag9" role="tab" aria-controls="settings"><i class="fa fa-paper-plane"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag10" role="tab" aria-controls="settings"><i class="fa fa-user"></i></a> </li> <li class="nav-item"> <a class="nav-link" data-toggle="tab" href="#pag11" role="tab" aria-controls="settings"><i class="fa fa-wrench"></i></a> </li> </ul> <div class="tab-content"> <div class="tab-pane active" id="pag1" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 1</h3> <p>content 1</p> </div> </div> <div class="tab-pane" id="pag2" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 2</h3> <p>content 2</p> </div> </div> <div class="tab-pane" id="pag3" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 3</h3> <p>Content 3</p> </div> </div> <div class="tab-pane" id="pag4" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 4</h3> <p>content 4</p> </div> </div> <div class="tab-pane" id="pag5" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 5</h3> <p>content 5</p> </div> </div> <div class="tab-pane" id="pag6" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 6</h3> <p>content 6</p> </div> </div> <div class="tab-pane" id="pag7" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 7</h3> <p>content 7</p> </div> </div> <div class="tab-pane" id="pag8" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 8</h3> <p>content 8</p> </div> </div> <div class="tab-pane" id="pag9" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 9</h3> <p>content 9</p> </div> </div> <div class="tab-pane" id="pag10" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 10</h3> <p>content 10</p> </div> </div> <div class="tab-pane" id="pag11" role="tabpanel"> <div class="sv-tab-panel"> <h3>TAB 11</h3> <p>content 11</p> </div> </div> </div> </div> </div> </div> </body> </html>
/* Vertical Tabs */ .vertical-tabs{ font-size:15px; padding:0px; color:#0000FF; height: 100%; } .vertical-tabs .nav-tabs .nav-link{ border-radius: 0; background:#0000ff; text-align:center; font-size: 16px; border:1px solid #424242; color:#fff; height:40px; width: 60px; } .vertical-tabs .nav-tabs .nav-link.active{ background-color:#700000!important; color:#fff; border-left: 2px solid skyblue; } .vertical-tabs .tab-content>.active{ background:#fff; display:block; } .vertical-tabs .nav.nav-tabs{ border-bottom:0; display:block; float:left; margin-right:0px; height: 100vh; background-color: #0000ff; } .vertical-tabs .sv-tab-panel{ background:#fff; padding-top:10px; padding-left:80px; }
Related:
See More
Free Template
Paper Dashboard
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76