The following table provides a list of all contextual classes to have the content inside the container.
A responsive fixed width container with widths determined by screen sites. Equal margin on the left and right.
A container that spans the full width of the screen.
Container Class .container-fluid
.container-fluid Bootstrap4 class provides a full width container, spanning the entire width of the viewport.
HTML Online Editor
<h1>My First Bootstrap Page</h1>
<p>This part is inside a .container-fluid class.</p>
<p>The .container-fluid class provides a full width container, spanning the entire width of the viewport.</p>