Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Wrap content with fixed, fluid, and responsive containers.
Containers is easiest to learn by reading the example, changing it, and observing the result.
<div class="container">
<div class="row g-3">
<div class="col-12 col-md-6 col-lg-4">
<div class="p-3 bg-primary-subtle rounded">Column A</div>
</div>
<div class="col-12 col-md-6 col-lg-4">
<div class="p-3 bg-primary-subtle rounded">Column B</div>
</div>
<div class="col-12 col-lg-4">
<div class="p-3 bg-primary-subtle rounded">Column C</div>
</div>
</div>
</div>Practice the Containers example in a small scratch file, then explain what changed and why.