"Nice Login Form"
Bootstrap 3.3.0 Snippet by aswanik11

<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-fluid"> <div class="row-fluid" > <div class="col-md-offset-4 col-md-4 form-box"> <h2>Login Form</h2> <hr> <form class="form-horizontal" action="" method="POST" > <fieldset> <div class="form-group"> <div class="col-md-12"> <div class="input-group"> <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span> <input type="text" name="username" placeholder="Username" class="form-control"> </div> </div> </div> <div class="form-group"> <div class="col-md-12"> <div class="input-group"> <span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span> <input type="password" name="password" placeholder="Password" class="form-control"> </div> </div> </div> <div class="form-group"> <div class="col-md-12"> <button type="submit" class="btn btn-md btn-danger pull-right">Login</button> </div> </div> </fieldset> </form> </div> </div> </div>
body{ background-image: linear-gradient(#03A9F4, #03A9F4); } .form-box{ border: 1px solid rgb(200, 200, 200); box-shadow: rgba(0, 0, 0, 0.1) 0 5px 5px 2px; background: rgb(200, 200, 200, 0.1); border-radius: 4px; top:50px; } h2{ text-align:center; color:#fff; }

Related: See More


Questions / Comments: