Last active
August 29, 2015 14:00
-
-
Save alex-cory/11165100 to your computer and use it in GitHub Desktop.
A bootstrap 3 snippet for a login modal.
This file contains hidden or 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
<a data-toggle="modal" href="#myModal" class="btn btn-primary">Launch modal</a> | |
<div class="modal" id="myModal"> | |
<div class="modal-dialog"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
<h4 class="modal-title">Login</h4> | |
</div> | |
<div class="modal-body"> | |
<form class="form col-md-12 center-block"> | |
<div class="form-group"> | |
<input type="text" class="form-control input-lg" placeholder="Email"> | |
</div> | |
<div class="form-group"> | |
<input type="password" class="form-control input-lg" placeholder="Password"> | |
</div> | |
<div class="form-group"> | |
<button class="btn btn-primary btn-lg btn-block">Sign In</button> | |
<span class="pull-right"><a href="#">Register</a></span><span><a href="#">Need help?</a></span> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment