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
"Tabs"
Bootstrap 3.3.0 Snippet by
santhoshawe
3.3.0
Preview
HTML
CSS
View Full Screen
Forked from
Fork
Fork this
Parent
1.3K
 
0 Fav
Post to Facebook
Tweet this
<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="container"> <div class="row"> <section> <div class="wizard"> <div class="wizard-inner"> <div class="connecting-line"></div> <ul class="nav nav-tabs" role="tablist"> <li role="presentation" class="active"> <a href="#step1" data-toggle="tab" aria-controls="step1" role="tab" title="Step 1"> <span class="round-tab-green"> <i class="fa fa-dollar"></i> </span> </a> </li> <li role="presentation"> <a href="#step2" data-toggle="tab" aria-controls="step2" role="tab" title="Step 2"> <span class="round-tab-red"> <i class="fa fa-list-ul"></i> </span> </a> </li> <li role="presentation"> <a href="#step3" data-toggle="tab" aria-controls="step3" role="tab" title="Step 3"> <span class="round-tab-blue"> <i class="fa fa-shopping-cart"></i> </span> </a> </li> <li role="presentation"> <a href="#complete" data-toggle="tab" aria-controls="complete" role="tab" title="Complete"> <span class="round-tab-yellow"> <i class="fa fa-upload"></i> </span> </a> </li> </ul> </div> <form role="form"> <div class="tab-content"> <div class="tab-pane active" role="tabpanel" id="step1"> <div class="step1"> A </div> </div> <div class="tab-pane" role="tabpanel" id="step2"> <div class="step2"> B </div> </div> <div class="tab-pane" role="tabpanel" id="step3"> <div class="step3"> C </div> </div> <div class="tab-pane" role="tabpanel" id="complete"> <div class="step4"> D </div> </div> <div class="clearfix"></div> </div> </form> </div> </section> </div> </div>
@import url("//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css"); .wizard { margin: 20px auto; background: #fff; } .wizard .nav-tabs { position: relative; margin: 40px auto; margin-bottom: 0; border-bottom-color: #e0e0e0; } .wizard > div.wizard-inner { position: relative; } .connecting-line { height: 2px; background: #e0e0e0; position: absolute; width: 80%; margin: 0 auto; left: 0; right: 0; top: 50%; z-index: 1; } .wizard .nav-tabs > li.active > a, .wizard .nav-tabs > li.active > a:hover, .wizard .nav-tabs > li.active > a:focus { color: #555555; cursor: default; border: 0; border-bottom-color: transparent; } span.round-tab-red { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; border: 2px solid #c22222; color:#c22222; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab-green { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; color: #22c222; border: 2px solid #22c222; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab-yellow { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; color:#febe29; border: 2px solid #febe29; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } span.round-tab-blue { width: 70px; height: 70px; line-height: 70px; display: inline-block; border-radius: 100px; background: #fff; border: 2px solid #3e5e9a; color:#3e5e9a; z-index: 2; position: absolute; left: 0; text-align: center; font-size: 25px; } .wizard li.active span.round-tab-red { background: #fff; border: 2px solid #c22222; } .wizard li.active span.round-tab-red i{ color: #c22222; } span.round-tab-red:hover { color: #333; border: 2px solid #333; } .wizard li.active span.round-tab-green { background: #fff; border: 2px solid #22c222; } .wizard li.active span.round-tab-green i{ color: #22c222; } span.round-tab-green:hover { color: #333; border: 2px solid #333; } .wizard li.active span.round-tab-yellow { background: #fff; border: 2px solid #febe29; } .wizard li.active span.round-tab-yellow i{ color: #febe29; } span.round-tab-yellow:hover { color: #333; border: 2px solid #333; } .wizard li.active span.round-tab-blue { background: #fff; border: 2px solid #3e5e9a; } .wizard li.active span.round-tab-blue i{ color: #3e5e9a; } span.round-tab-blue:hover { color: #333; border: 2px solid #333; } .wizard .nav-tabs > li { width: 25%; } .wizard li:after { content: " "; position: absolute; left: 46%; opacity: 0; margin: 0 auto; bottom: 0px; border: 5px solid transparent; border-bottom-color: #5bc0de; transition: 0.1s ease-in-out; } .wizard li.active:after { content: " "; position: absolute; left: 46%; opacity: 1; margin: 0 auto; bottom: 0px; border: 10px solid transparent; border-bottom-color: #5bc0de; } .wizard .nav-tabs > li a { width: 70px; height: 70px; margin: 20px auto; border-radius: 100%; padding: 0; } .wizard .nav-tabs > li a:hover { background: transparent; } .wizard .tab-pane { position: relative; padding-top: 50px; } .wizard h3 { margin-top: 0; } @media (max-width : 585px) { .wizard { width: 90%; height: auto !important; } span.round-tab { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } span.round-tab-red { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } span.round-tab-green { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } span.round-tab-yellow { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } span.round-tab-blue { font-size: 16px; width: 50px; height: 50px; line-height: 50px; } .wizard .nav-tabs > li a { width: 50px; height: 50px; line-height: 50px; } .wizard li.active:after { content: " "; position: absolute; left: 35%; } }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76