"Sign in/Sign up Flip effect"
Bootstrap 3.3.0 Snippet by ashutosh123

<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 ----------> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"> <div class="container"> <div class="row"> <div class="col-md-4"></div> <div class="col-md-4"> <h4>Click "Create new account?"</h4> <div class="flip"> <div class="card"> <div class="face front"> <div class="panel panel-default"> <form class="form-horizontal"> <br> <h1 class="text-center">LOGO</h1> <br> <input class="form-control" placeholder="Username"/> <input class="form-control" placeholder="Password"/> <p class="text-right"><a href="">Forgot Password</a></p> <button class="btn btn-primary btn-block">LOG IN</button> <hr> <p class="blue">Sign in with</p> <p><i class="fa fa-facebook-f fa-lg"></i><i class="fa fa-twitter fa-lg"></i></p> <hr> <p class="text-center"> <a href="#" class="fliper-btn">Create new account?</a> </p> </form> </div> </div> <div class="face back"> <div class="panel panel-default"> <form class="form-horizontal"> <br> <h1 class="text-center">LOGO</h1> <br> <label>Basic Information</label> <input class="form-control" placeholder="Fullname"/> <input class="form-control" placeholder="Email"/> <label>Private Information</label> <input class="form-control" placeholder="Password"/> <input class="form-control" placeholder="Mobile Number"/> <button class="btn btn-primary btn-block">SIGN UP</button> <p class="text-center"> <a href="#" class="fliper-btn">Already have an account?</a> </p> </form> </div> </div> </div> </div> </div> <div class="col-md-4"></div> </div> </div><!-- /.container -->
body{ padding-top: 100px; } form{ padding: 20px; box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 15px 0 rgba(0,0,0,0.12) !important; } h4{ text-align: center; } .btn{ border-radius: 0px; } .form-control{ border-radius: 0px; margin-bottom: 10px; } p{ margin-bottom: 10px; margin-top: 10px; text-align: center; } .blue{ color: #337ab7; } .fa{ color: #337ab7; } .fa-facebook-f{ padding: 10px 12px 10px 12px; border: 1px solid #337ab7; border-radius: 50%; } .fa-google-plus{ padding: 10px 8px 10px 8px; border: 1px solid #337ab7; border-radius: 50%; } .fa-twitter{ padding: 10px 8px 10px 8px; border: 1px solid #337ab7; border-radius: 50%; } i{ margin-left: 5px; margin-right: 5px; } .flip { -webkit-perspective: 800; perspective: 800; position: relative; } .flip .card.flipped { -webkit-transform: rotatey(-180deg); transform: rotatey(-180deg); } .flip .card { height: 100%; -webkit-transform-style: preserve-3d; -webkit-transition: 0.5s; transform-style: preserve-3d; transition: 0.5s; } .flip .card .face { -webkit-backface-visibility: hidden ; backface-visibility: hidden ; z-index: 2; } .flip .card .front { position: absolute; width: 100%; z-index: 1; } .flip .card .back { -webkit-transform: rotatey(-180deg); transform: rotatey(-180deg); } .inner{margin:0px !important;}
$('.fliper-btn').click(function(){ $('.flip').find('.card').toggleClass('flipped'); });

Related: See More


Questions / Comments: