Search
 
SCRIPT & CODE EXAMPLE
 

HTML

center vertically and horizontally bootstrap 4

<div class="container h-100">
  <div class="row h-100 justify-content-center align-items-center">
    <form class="col-12">
      <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>
Comment

bootstrap center div vertically and horizontally

 <div class="container h-100">
  <div class="d-flex justify-content-md-center align-items-center vh-100">
   <p>Your Content</p>
  </div>     
 </div> 
Comment

PREVIOUS NEXT
Code Example
Html :: html center image vertically bootstrap 
Html :: slick slider cdn 
Html :: html filter file upload 
Html :: taka html code 
Html :: where to use .target command in html 
Html :: feather icon cdn 
Html :: html form enctype 
Html :: vscode user code snippet not working markdown 
Html :: add href to div 
Html :: input type="file" and display image 
Html :: how to link to an email in html 
Html :: vue datatable date format 
Html :: js get mouse position canvas 
Html :: google web fonts open sans 
Html :: html skype 
Html :: how to add a browser tab icon 
Html :: html text transformation 
Html :: html start code 
Html :: minimal acceptable html 
Html :: add link to text html 
Html :: audio tag disable download 
Html :: make websites all-deivce compatible 
Html :: responsive meta tag 
Html :: bootsrap label 
Html :: shopify include css file 
Html :: how to get value of textbox in javascript from html 
Html :: how to add square root symbol in HTML Web page 
Html :: laravel blade html content 
Html :: pass method jsf component 
Html :: align right tailwind 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =