"Centered Horizontal and Vertical Login Screen"
Bootstrap 4.0.0 Snippet by ggamigo

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.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 ----------> <!-- no additional media querie or css is required --> <div class="container"> <div class="row justify-content-center align-items-center" style="height:100vh"> <div class="col-4"> <div class="card"> <div class="card-body"> <form action="" autocomplete="off"> <div class="form-group"> <input type="text" class="form-control" name="username"> </div> <div class="form-group"> <input type="password" class="form-control" name="password"> </div> <button type="button" id="sendlogin" class="btn btn-primary">login</button> </form> </div> </div> </div> </div> </div>

Related: See More


Questions / Comments: