Create responsive layouts quickly with Bootstrap grid, utilities, components, and theming.
Lessons
Generate your own utility classes with the Sass API.
Utilities API 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 Utilities API example in a small scratch file, then explain what changed and why.