"Make this page work on phones" is the request where the obvious-looking fix isn't the real one. Ask vaguely and you'll often get a media query that resizes one container — while the page still renders at desktop width on the phone and zooms out, leaving everything unreadably small. The actual fix is a single tag most prompts forget.
Here's the request three ways to Claude via Claude Code, with the real code. It's a gentler example than login or payments, but the same principle holds: the specific prompt gets the thing you actually needed.
The same request, three ways
"Make this page work on phones", three ways
Each prompt was given to Claude, via Claude Code (26 Sep 2026) on its own. Outputs verbatim.
make this page work on mobile
@media (max-width: 600px) {
.container { width: 100%; }
}worseIt shrinks one container, but with no viewport tag the phone still lays the page out at desktop width and zooms out — so everything stays tiny. The real fix is missing.
make the page responsive: add the viewport meta tag and give it a mobile layout
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.grid { display: flex; gap: 1rem; flex-wrap: wrap; }
.card { flex: 1 1 300px; }
@media (max-width: 600px) {
.grid { flex-direction: column; }
}
</style>it dependsThe viewport tag is the fix most 'tiny on mobile' pages need; the flex layout reflows from a row into a stack on small screens.
make it mobile-first: base styles are the phone layout, use fluid units, tap targets at least 44px, no horizontal scroll, and add the desktop layout at a min-width breakpoint
/* Mobile-first: the base styles ARE the phone layout; widen later. */
* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; } /* no sideways scroll */
.grid { display: grid; gap: 1rem; padding: 1rem; }
.btn { min-height: 44px; min-width: 44px; } /* thumb-friendly */
img, video { max-width: 100%; height: auto; } /* media never overflows */
@media (min-width: 640px) {
.grid { grid-template-columns: repeat(2, 1fr); }
}betterMobile-first means the plain styles are the phone. The four comments are the whole checklist: no sideways scroll, 44px tap targets, fluid media, then widen.
What changed: "Make it work on phones" starts with one tag (viewport) most prompts miss, then a mobile-first layout with thumb-sized targets and nothing that scrolls sideways.
The vague result isn't wrong so much as incomplete: a media query is real responsive CSS, but without the viewport tag the phone never enters the small-screen layout in the first place. It's the classic case of the model answering the letter of a request that left out the thing that mattered.




