Responsive Login page design using bootstrap!
Created
February 9, 2019 17:51
-
-
Save xh3n1/654ab3726e9fa00cd98c692e3f6f5fec to your computer and use it in GitHub Desktop.
Bootstrap Responsive Login Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-heading"> | |
<h2 class="text-center">Login</h2> | |
</div> | |
<hr /> | |
<div class="modal-body"> | |
<form action="" role="form"> | |
<div class="form-group"> | |
<div class="input-group"> | |
<span class="input-group-addon"> | |
<span class="glyphicon glyphicon-user"></span> | |
</span> | |
<input type="text" class="form-control" placeholder="User Name" /> | |
</div> | |
</div> | |
<div class="form-group"> | |
<div class="input-group"> | |
<span class="input-group-addon"> | |
<span class="glyphicon glyphicon-lock"></span> | |
</span> | |
<input type="password" class="form-control" placeholder="Password" /> | |
</div> | |
</div> | |
<div class="form-group text-center"> | |
<button type="submit" class="btn btn-success btn-lg">Login</button> | |
<a href="#" class="btn btn-link">forget Password</a> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.modal-content{ | |
background-color: darkcyan; | |
} | |
.btn-link{ | |
color:white; | |
} | |
.modal-heading h2{ | |
color:#ffffff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment