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
"Tab"
Bootstrap 3.3.0 Snippet by
bgsrb
3.3.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.8K
 
2 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"> <h2>Tabbed</h2><hr/> <div class="row"> <div class="col-sm-4 col-xs-12"> <div class="panel panel-with-tab panel-login panel-default"> <ul class="nav nav-tabs nav-justified "> <li role="presentation" class="active"><a href="#Signup" role="tab" data-toggle="tab">Sign up</a></li> <li class=""><a href="#Signin" role="tab" data-toggle="tab">Sign in</a></li> </ul> <div class="panel-body tab-content"> <div class="tab-pane" role="tabpanel" id="Signin"> <form class=""> <div class="form-group"> <label for="SigninEmailaddress">Email address</label> <input type="email" class="form-control" id="SigninEmailaddress" placeholder="Emailaddress"> </div> <div class="form-group"> <label for="SigninPassword">Password</label> <input type="password" class="form-control" id="SigninPassword" placeholder="Password"> </div> <div class="form-group"> <div class="checkbox"> <label><input type="checkbox"> Check me out </label> </div> </div> <div class="form-group"> <button type="submit" class="btn btn-default">Sign in</button> </div> </form> </div> <div class="tab-pane active" role="tabpanel" id="Signup"> <form class=""> <div class="form-group"> <label for="SignupUsername">User name</label> <input type="text" class="form-control" id="SignupUsername" placeholder="Username"> </div> <div class="form-group"> <label for="SignupEmailaddress">Email address</label> <input type="email" class="form-control" id="SignupEmailaddress" placeholder="Email"> </div> <div class="form-group"> <label for="SignupPassword">Password</label> <input type="password" class="form-control" id="SignupPassword" placeholder="Password"> </div> <div class="form-group"> <label for="SignupConfirmpassword">Confirm password</label> <input type="password" class="form-control" id="SignupConfirmpassword" placeholder="Confirm password"> </div> <div class="form-group"> <button type="submit" class="btn btn-default">Sign up</button> </div> </form> </div> </div> </div> </div> <div class="col-sm-8 col-xs-12"> <div class="panel panel-with-tab panel-default"> <ul class="nav nav-tabs nav-justified "> <li role="presentation" class=""><a href="#merchant" role="tab" data-toggle="tab">Merchant</a></li> <li class=""><a href="#developers" role="tab" data-toggle="tab">Developers</a></li> <li class="active"><a href="#all" role="tab" data-toggle="tab">All</a></li> </ul> <div class="panel-body tab-content"> <div class="tab-pane" role="tabpanel" id="all"> </div> <div class="tab-pane" role="tabpanel" id="developers"> </div> <div class="tab-pane active" role="tabpanel" id="merchant"> </div> </div> </div> </div> </div> </div>
.panel.panel-with-tab { border-radius: 0; } .panel.panel-with-tab>.nav-tabs.nav-justified>li>a { border-top: 0; border-radius: 0; } .panel.panel-with-tab .nav-tabs.nav-justified>li>a:hover { background: white; color: #2196F3; } .panel.panel-with-tab .nav-tabs.nav-justified>.active>a, .panel.panel-with-tab .nav-tabs.nav-justified>.active>a:hover, .panel.panel-with-tab .nav-tabs.nav-justified>.active>a:focus { border-top: 0; background: white; } .panel.panel-with-tab .nav-tabs.nav-justified>li:first-child>a, .panel.panel-with-tab .nav-tabs.nav-justified>li:first-child>a:hover, .panel.panel-with-tab .nav-tabs.nav-justified>li:first-child>a:focus { border-left: 0; } .panel.panel-with-tab .nav-tabs.nav-justified>li:last-child>a, .panel.panel-with-tab .nav-tabs.nav-justified>li:last-child>a:hover, .panel.panel-with-tab .nav-tabs.nav-justified>li:last-child>a:focus { border-right: 0; } .panel-login{ max-width:360px; }
Related:
See More
Template
Paper Kit Pro
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76