"about.me Login Style"
Bootstrap 3.0.0 Snippet by amatellanes

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="main"> <h3>Please Log In, or <a href="#">Sign Up</a></h3> <div class="row"> <div class="col-xs-6 col-sm-6 col-md-6"> <a href="#" class="btn btn-lg btn-primary btn-block">Facebook</a> </div> <div class="col-xs-6 col-sm-6 col-md-6"> <a href="#" class="btn btn-lg btn-info btn-block">Google</a> </div> </div> <div class="login-or"> <hr class="hr-or"> <span class="span-or">or</span> </div> <form role="form"> <div class="form-group"> <label for="inputUsernameEmail">Username or email</label> <input type="text" class="form-control" id="inputUsernameEmail"> </div> <div class="form-group"> <a class="pull-right" href="#">Forgot password?</a> <label for="inputPassword">Password</label> <input type="password" class="form-control" id="inputPassword"> </div> <div class="checkbox pull-right"> <label> <input type="checkbox"> Remember me </label> </div> <button type="submit" class="btn btn btn-primary"> Log In </button> </form> </div> </div> </div>
body { padding-top: 15px; font-size: 12px } .main { max-width: 320px; margin: 0 auto; } .login-or { position: relative; font-size: 18px; color: #aaa; margin-top: 10px; margin-bottom: 10px; padding-top: 10px; padding-bottom: 10px; } .span-or { display: block; position: absolute; left: 50%; top: -2px; margin-left: -25px; background-color: #fff; width: 50px; text-align: center; } .hr-or { background-color: #cdcdcd; height: 1px; margin-top: 0px !important; margin-bottom: 0px !important; } h3 { text-align: center; line-height: 300%; }

Related: See More


Questions / Comments:

for border, you can try this:
body {
padding-top: 100px;
padding-bottom: 100px;
font-size: 12px
}

.main {
max-width: 360px;
margin: 0 auto;
padding-bottom: 40px;
padding-left: 40px;
padding-right: 40px;
border: 1px solid black;
}

Guest () - 7 years ago - Reply 0


Hello!! how can i put border on this page?

Marcelo Pantarine () - 8 years ago - Reply 0


Gorgeous! thanks!

Seulki Kim () - 10 years ago - Reply 0


Would be nice if you provided the PHP for that one ;) ...just saying :D

Lazy boy () - 10 years ago - Reply 0


I created many PHP tutorials on my blog: http://maxoffsky.com/ (using Laravel PHP framework to do Authentication very easy)

maxsurguy () - 10 years ago - Reply 0


OUTSTANDING template - thanks!

Travis Layne () - 10 years ago - Reply 0