"Login"
Bootstrap 3.3.0 Snippet by martinfrancisco

<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="card card-container"> <img id="logo-img" class="logo-img" src="https://placeholdit.imgix.net/~text?txtsize=24&txt=150x150&w=150&h=150" /> <form class="form-signin"> <input type="email" id="inputEmail" class="form-control" placeholder="email" required autofocus> <input type="password" id="inputPassword" class="form-control" placeholder="password" required> <button class="btn btn-lg btn-primary btn-block btn-signin" type="submit">login</button> </form><!-- /form --> <div class="signin-help"> <p>forgot your password? <a href="#">click here</a></p> <p>new user? <a href="#">create new account</a></p> </div> </div> </div>
.card-container.card { max-width: 350px; padding: 40px 40px; } /* * Card */ .card { background-color: #F7F7F7; /* just in case there no content*/ padding: 20px 25px 30px; margin: 0 auto 25px; margin-top: 50px; /* shadows and rounded borders */ -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); } .logo-img { width: 96px; height: 96px; margin: 0 auto 10px; display: block; } .form-signin #inputEmail, .form-signin #inputPassword { direction: ltr; height: 44px; font-size: 16px; } .form-signin input[type=email], .form-signin input[type=password], .form-signin input[type=text], .form-signin button { width: 100%; display: block; margin-bottom: 10px; z-index: 1; position: relative; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .form-signin .form-control:focus { border-color: rgb(104, 145, 162); outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162); box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162); }

Related: See More


Questions / Comments: