Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Set width and height with w-, h-, and responsive sizing.
Sizing Utilities is easiest to learn by reading the example, changing it, and observing the result.
<div class="p-4 m-3 border border-2 rounded-3 shadow-sm bg-white">
<p class="mb-2">Padding, margin, border, rounding, and shadow utilities.</p>
<div class="w-50 h-25 bg-primary-subtle p-2">Half width box</div>
<span class="d-none d-md-inline">Visible from md and up</span>
</div>Practice the Sizing Utilities example in a small scratch file, then explain what changed and why.