What is a Bootstrap Container, and how does it work?

A bootstrap container is a handy class that generates a central region on the page where we can put our site content. The bootstrap .container has the advantage of being responsive and containing all of our other HTML code. Containers are used to pad the content within them, and there are two types of containers:

  • The .container class creates a fixed-width container that is responsive.
  • The .container-fluid class creates a full-width container that spans the entire viewport width.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *