Bootstrap Center Vertical and Horizontal Alignment
I have a page where only form exists and I want form to be placed in the center of the screen. <div class=”container”> <div class=”row justify-content-center align-items-center”> <form> <div class=”form-group”> <label for=”formGroupExampleInput”>Example label</label> <input type=”text” class=”form-control” id=”formGroupExampleInput” placeholder=”Example input”> </div> <div class=”form-group”> <label for=”formGroupExampleInput2″>Another label</label> <input type=”text” class=”form-control” id=”formGroupExampleInput2″ placeholder=”Another input”> </div> </form> </div> </div> … Read more