A card that fits “Design” may fail when its title becomes “Website design for international service businesses.”
Before adding another breakpoint, change the content. Longer headings, translated labels and a missing image can reveal assumptions that resizing the viewport alone will miss.
Start with a deliberately fragile component
Paste this into a static HTML preview or a local file:
<style>
* { box-sizing: border-box; }
body { margin: 0; padding: 16px; font: 16px/1.5 system-ui; }
.card { width: 420px; border: 1px solid #777; padding: 20px; }
h2 { margin-block: 0 12px; }
</style>
<article class="card">
<h2>Design</h2>
<p>A practical service for your next website project.</p>
<a href="#">Read more</a>
</article>
At a 375px viewport, the page has only 343px after its two 16px gutters. A 420px card cannot fit. This follows from the example's dimensions; it is not a new measured test result.
A smaller font would hide the wrong problem. The card itself is wider than the available space.
Fix the constraint you found
Replace the card rule:
.card {
inline-size: 100%;
max-inline-size: 420px;
border: 1px solid #777;
padding: 20px;
}
Then test a long title and a longer link label. Avoid a fixed card height unless the design has a clear reason for one and an explicit strategy for overflowing content.
The width change makes this example fit the available inline space. It does not prove that a larger component with images or nested grids has no other problems.
Compare the same content at three widths
I use 375, 768 and 1200px as a quick comparison set. At each width, inspect:
- Whether anything extends beyond the content area.
- Whether text overlaps or clips, even without a horizontal scrollbar.
- Whether longer labels wrap in a useful way.
- Whether hiding an image leaves an awkward gap or removes needed information.
These are starting points. Your project may need narrower or intermediate checks too.
Keep automated overflow results in their lane
On 17 October 2026, the built-in example in my Responsive Content Tester was checked with its Long translation preset. It rendered all three comparison widths and reported no horizontal overflow at any of them.
That result applies to that example. It says nothing about the deliberately fragile card above until you run it, and it does not certify clipping, readability or accessibility.
Try content variations
I maintain the free Responsive Content Tester. Paste HTML with inline CSS, apply the longer-content preset, compare Original and With tests, then run the three-width comparison.
The preview blocks scripts and external files and does not fetch a live website URL. It is useful for a static layout experiment, not for reproducing an application's complete runtime or testing another browser engine.
After the experiment, apply the relevant change in your actual project and test the saved page again. The preview helps identify a question; the real page provides the final context.
Disclosure: I maintain the linked tool or kit. This article was prepared with AI assistance. Practical checks are identified separately from illustrative examples; verify the result in your own project.
Top comments (0)