Project: Login Form
Center a form with grid and utilities.
Example
<div class="container vh-100 d-flex align-items-center justify-content-center">
<form class="w-100" style="max-width:380px">
<h1 class="h3 mb-3">Sign in</h1>
<input class="form-control mb-2" type="email" placeholder="Email">
<input class="form-control mb-3" type="password" placeholder="Password">
<button class="btn btn-primary w-100">Login</button>
</form>
</div>Exercise
Full height.
class="vh-"
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.