"Simple responsive login form (adding register soon)"
Bootstrap 3.3.0 Snippet by muttfacejohnson

<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 ----------> <header> <div id = "nav" class="navbar-default navbar-static-top"> <div id="dashboard" class="container"> <a href="dashboard.html" id="logo" class="navbar-brand">Name</a> </div> </div> </header> <div class="container"> <div class="row"> <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3"></div> <div class="col-xs-12 col-sm-6 col-md-6 col-lg-6"> <div class="container-fluid container-login"> <div class="panel panel-default" id="panel-login"> <div class="panel-body"> <h2 id="title-login">Site Moto</h2> <form> <div class="form-group"> <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email"> </div> <div class="form-group"> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"> </div> <button type="submit" class="btn btn-default">Login</button> <button type="register" class="btn btn-default">Register</button> </form> </div> </div> </div> </div> <div class="col-xs-12 col-sm-3 col-md-3 col-lg-3"></div> </div> </div>
.container-login { margin-top: 35%; } #panel-login{ background-color: #222; border: black; } #logo { font-size: 36px; font-family:coolvetica; color: white; width: 115px; } #title-login { color: white; } #nav{ background-color: #222; }

Related: See More


Questions / Comments: