container classes of bootstrap code example
Example 1: bootstrap container-fluid
Use .container-fluid for a full width container, spanning the entire width of the viewport.
<div class="container-fluid">
...
</div>
Example 2: bootstrap container
Our default .container class is a responsive, fixed-width container, meaning its max-width changes at each breakpoint.
<div class="container">
<!-- Content here -->
</div>
Example 3: container class in bootstrap
meaning it’s 100% wide all the time