"Amazon.com Inspired Login Form"
Bootstrap 3.3.0 Snippet by EdGadz

<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="panel panel-primary"> <div class="panel-body"> <form method="POST" action="#" role="form"> <div class="form-group"> <h2>Sign in</h2> </div> <div class="form-group"> <strong>Email or mobile phone number</strong> <input id="signinEmail" type="email" maxlength="50" class="form-control"> </div> <div class="form-group"> <strong>Password</strong> <span class="right"><a href="#">Forgot your password?</a></span> <input id="signinPassword" type="password" maxlength="25" class="form-control"> </div> <div class="form-group" style="padding-top: 12px;"> <button id="signinSubmit" type="submit" class="btn btn-success btn-block">Sign in</button> </div> <div class="form-group divider"> <hr class="left"><small>New to site?</small><hr class="right"> </div> <p class="form-group"><a href="#" class="btn btn-info btn-block">Create an account</a></p> <p class="form-group">By signing in you are agreeing to our <a href="#">Terms of Use</a> and our <a href="#">Privacy Policy</a>.</p> </form> </div> </div> </div> </div>
form { margin: 0px 10px; } h2 { margin-top: 2px; margin-bottom: 2px; } .container { max-width: 360px; } .divider { text-align: center; margin-top: 20px; margin-bottom: 5px; } .divider hr { margin: 7px 0px; width: 35%; } .left { float: left; } .right { float: right; }

Related: See More


Questions / Comments: