Most utilities accept breakpoint infixes: mt-md-4, text-lg-center, flex-md-row. Read them as “from this breakpoint up, apply this utility.”
Composition example
A toolbar might use d-flex flex-column gap-2 flex-md-row justify-content-md-between—stacked buttons on phones, horizontal bar on tablets+. Spacing tweaks like py-3 py-lg-5 adjust vertical rhythm without custom CSS.
Tailwind puts the breakpoint first (md:flex-row); Bootstrap puts it after the property group (flex-md-row). Same idea, different word order.
Self-check
- How do you add top margin 4 from md breakpoint upward?
- What utility pair stacks flex items on mobile and rows them on md+?