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
"Sign in/Sign up Flip effect"
Bootstrap 3.3.0 Snippet by
extreme
3.3.0
Preview
HTML
CSS
JS
View Full Screen
Forked from
Fork
Fork this
Parent
765
 
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 ----------> <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'); });
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76