Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Set column widths with col, col-6, and responsive variants.
Grid Columns 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 Grid Columns example in a small scratch file, then explain what changed and why.