- container
- container-fluid
The container class is the default layout in Bootstrap. This class has written some predefined margins. And there are 5 types of classes used in the container class.
- container-sm small breakpoint
- container-md medium breakpoint
- container-lg large breakpoint
- container-xl extra-large breakpoint
- container-xxl extra-extra-large breakpoint
Syntax
<div class='container'>
other tags
</div>
The container-fluid class in the bootstrap is used for a full-width container, it takes the entire width of the viewport.
Syntax
<div class='container-fluid'>
other tags
</div>