"Simple Login"
Bootstrap 3.3.0 Snippet by ashutosh123

<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" style="margin-top: 5%;"> <div class="col-md-4 col-md-offset-4"> <div class="panel panel-primary"> <div class="panel-heading">Login</div> <div class="panel-body"> <!-- Login Form --> <form role="form"> <!-- Username Field --> <div class="row"> <div class="form-group col-xs-12"> <label for="username"><span class="text-danger" style="margin-right:5px;">*</span>Username:</label> <div class="input-group"> <input class="form-control" id="username" type="text" name="username" placeholder="Username" required/> <span class="input-group-btn"> <label class="btn btn-primary"><span class="glyphicon glyphicon-user" aria-hidden="true"></label> </span> </span> </div> </div> </div> <!-- Content Field --> <div class="row"> <div class="form-group col-xs-12"> <label for="password"><span class="text-danger" style="margin-right:5px;">*</span>Password:</label> <div class="input-group"> <input class="form-control" id="password" type="password" name="password" placeholder="Password" required/> <span class="input-group-btn"> <label class="btn btn-primary"><span class="glyphicon glyphicon-lock" aria-hidden="true"></label> </span> </span> </div> </div> </div> <!-- Login Button --> <div class="row"> <div class="form-group col-xs-4"> <button class="btn btn-primary" type="submit">Submit</button> </div> </div> </form> <!-- End of Login Form --> </div> </div> </div>

Related: See More


Questions / Comments: