Content pressure
Add a breakpoint when the content needs relief.
Breakpoints are layout decisions. A breakpoint should exist because the design needs it, not because a device spreadsheet says so.
:root { --bp-content-wide: 56rem; }
@media (min-width: 56rem) {
.lesson-layout { grid-template-columns: 18rem 1fr; }
}
Responsive mental model
A breakpoint is the point where the current layout stops working well enough and a different layout becomes better.
Device widths change constantly. Content pressure is more stable: text gets cramped, cards become too narrow or navigation needs a different pattern.
Good breakpoint systems are small, named and connected to layout intent.
Add a breakpoint when the content needs relief.
Use design names such as --bp-wide instead of random values everywhere.
One breakpoint can adjust several related layout choices.
Check before, at and after the breakpoint.
Visual model
The current layout works with one column.
Cards or text start losing comfort.
The structure changes for a reason.
The new layout uses extra room well.
Good CSS versus fragile CSS
:root { --bp-content-wide: 56rem; }
@media (min-width: 56rem) {
.lesson-layout { grid-template-columns: 18rem 1fr; }
}
@media (max-width: 430px) {}
@media (max-width: 414px) {}
@media (max-width: 393px) {}
@media (max-width: 390px) {}
Rules of thumb
Resize until the layout becomes uncomfortable, then set the breakpoint.
Rem breakpoints relate better to text and zoom behavior.
A site can often work with a handful of meaningful breakpoints.
Document why a breakpoint exists.
New devices make exact lists age quickly.
The bug is often one pixel before or after the breakpoint.
Production thinking
Breakpoints shape the entire responsive system. Too many create chaos; too few can make designs feel neglected.
Breakpoints should support zoom, text growth and orientation changes without hiding content.
Keep breakpoint decisions in a visible part of the CSS architecture and reuse them consistently.
Content should remain complete and reachable at every breakpoint.
Live code lab
The preview runs in an isolated iframe. Links and forms stay inside the practice area, so you can experiment without leaving the lesson.
Mini assignment
Practice assignment
Try it yourself
Self-check
Answer these questions before moving on. If the answer is vague, resize the lab idea mentally and explain what should change.
Senior audit upgrade
Do not start from device names. Narrow the viewport until the layout breaks, then add the smallest rule that fixes that actual break.
Resize slowly until content becomes cramped, unreadable or awkward.
Change layout, spacing or typography only where needed.
Phone and tablet names age quickly. Content problems stay real.