Problem Statement
Explain the spacing scale (0–5) and how responsive spacing works.
Explanation
Bootstrap uses a simple scale from zero to five. Each step maps to a rem value. For example, m dash three means medium margin, and p y dash two means top and bottom padding set to step two.
You can add breakpoints in the class name. For example, m d dash four applies from medium screens up. This keeps spacing comfortable on large screens and tight on small ones.
Code Solution
SolutionRead Only
<div class='p-2 p-md-4 my-3'>Adaptive spacing</div>
