"Form Tab Membership"
Bootstrap 3.3.0 Snippet by fuckrhizal

<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"> <div class="col-md-6 col-md-offset-3"> <div class="panel panel-login"> <div class="panel-heading"> <div class="row"> <div class="col-xs-4"> <a href="#" class="active" id="login-form-link">What's you get?</a> </div> <div class="col-xs-4"> <a href="#" id="register-form-link">How to Regist?</a> </div> <div class="col-xs-4"> <a href="#" id="news-form-link">News</a> </div> </div> <hr> </div> <div class="panel-body"> <div class="row"> <div class="col-lg-12"> <form id="login-form" action="http://phpoll.com/login/process" method="post" role="form" style="display: block;"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tincidunt erat dolor, nec posuere tortor consectetur non. Phasellus volutpat non lectus mollis cursus.</p> <ul> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> </ul> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tincidunt erat dolor, nec posuere tortor consectetur non. Phasellus volutpat non lectus mollis cursus.</p> <p>If u want Regist click <a href="#" id="register-form-link2">How to Regist?</a></p> </form> <form id="register-form" action="http://phpoll.com/register/process" method="post" role="form" style="display: none;"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Name" value=""> </div> <div class="form-group"> <input type="text" name="password" id="username" tabindex="1" class="form-control" placeholder="Address" value=""> </div> <div class="row"> <div class="col-lg-6"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="City" value=""> </div> </div> <div class="col-lg-6"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Zip Code" value=""> </div> </div> </div> <div class="row"> <div class="col-lg-4"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Telephone(M)" value=""> </div> </div> <div class="col-lg-4"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="(H)" value=""> </div> </div> <div class="col-lg-4"> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="(W)" value=""> </div> </div> </div> <div class="form-group"> <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="Email" value=""> </div> <div class="form-group"> <div class="row"> <div class="col-sm-6 col-sm-offset-3"> <input type="submit" name="register-submit" id="register-submit" tabindex="4" class="form-control btn btn-register" value="Register Now"> </div> </div> </div> <div class="row"> <div class="col-md-offset-4"> <p>Or u can Register Offline <a href="#">Here</a> </p> </div> </div> </form> <form id="news-form" action="http://phpoll.com/register/process" method="post" role="form" style="display: none;"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tincidunt erat dolor, nec posuere tortor consectetur non. Phasellus volutpat non lectus mollis cursus.</p> <ul> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li> </ul> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut tincidunt erat dolor, nec posuere tortor consectetur non. Phasellus volutpat non lectus mollis cursus.</p> </form> </div> </div> </div> </div> </div> </div> </div>
body { padding-top: 90px; } .panel-login { border-color: #ccc; -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2); -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2); box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.2); } .panel-login>.panel-heading { color: #00415d; background-color: #232121; border-color: #fff; text-align:center; } .panel-login>.panel-heading a{ text-decoration: none; color: #666; font-weight: bold; font-size: 15px; -webkit-transition: all 0.1s linear; -moz-transition: all 0.1s linear; transition: all 0.1s linear; } .panel-login>.panel-heading a.active{ color: #d52e36; font-size: 18px; } .panel-login>.panel-heading hr{ margin-top: 10px; margin-bottom: 0px; clear: both; border: 0; height: 1px; background-image: -webkit-linear-gradient(left,rgba(0, 0, 0, 0),rgba(0, 0, 0, 0.15),rgba(0, 0, 0, 0)); background-image: -moz-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); background-image: -ms-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); background-image: -o-linear-gradient(left,rgba(0,0,0,0),rgba(0,0,0,0.15),rgba(0,0,0,0)); } .panel-login input[type="text"],.panel-login input[type="email"],.panel-login input[type="password"] { height: 45px; border: 1px solid #ddd; font-size: 16px; -webkit-transition: all 0.1s linear; -moz-transition: all 0.1s linear; transition: all 0.1s linear; } .panel-login input:hover, .panel-login input:focus { outline:none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; border-color: #ccc; } .btn-login { background-color: #59B2E0; outline: none; color: #fff; font-size: 14px; height: auto; font-weight: normal; padding: 14px 0; text-transform: uppercase; border-color: #59B2E6; } .btn-login:hover, .btn-login:focus { color: #fff; background-color: #53A3CD; border-color: #53A3CD; } .forgot-password { text-decoration: underline; color: #888; } .forgot-password:hover, .forgot-password:focus { text-decoration: underline; color: #666; } .btn-register { background-color: #1CB94E; outline: none; color: #fff; font-size: 14px; height: auto; font-weight: normal; padding: 14px 0; text-transform: uppercase; border-color: #1CB94A; } .btn-register:hover, .btn-register:focus { color: #fff; background-color: #1CA347; border-color: #1CA347; }
$(function() { $('#login-form-link').click(function(e) { $("#login-form").delay(100).fadeIn(100); $("#register-form").fadeOut(100); $('#register-form-link').removeClass('active'); $("#news-form").fadeOut(100); $('#news-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); $('#register-form-link').click(function(e) { $("#register-form").delay(100).fadeIn(100); $("#login-form").fadeOut(100); $('#login-form-link').removeClass('active'); $("#news-form").fadeOut(100); $('#news-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); $('#news-form-link').click(function(e) { $("#news-form").delay(100).fadeIn(100); $("#login-form").fadeOut(100); $('#login-form-link').removeClass('active'); $("#register-form").fadeOut(100); $('#register-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); $('#register-form-link2').click(function(e) { $("#register-form").delay(100).fadeIn(100); $("#login-form").fadeOut(100); $('#login-form-link').removeClass('active'); $('#register-form-link').addClass('active'); $("#news-form").fadeOut(100); $('#news-form-link').removeClass('active'); $(this).addClass('active'); e.preventDefault(); }); });

Related: See More


Questions / Comments: