In plain words
Responsive design means one layout that rearranges itself for the screen it's on, stacking into a single column on phones and spreading out on wider screens.
Where you see it
QuickBite's menu shows three columns of dishes on a laptop, two on a tablet and one on a phone. In Tailwind code, prefixes like md: and lg: mark the widths where the layout changes.
What goes wrong
- Reading sm: as "on small screens"
Tailwind starts from the phone, and sm: means 640px and wider. This line gives phones the large text and laptops the small.
<p className="text-lg sm:text-sm"> - A wide table on a narrow screen
A ten-column orders table either squashes into unreadable slivers or pushes the whole page sideways. On phones, show each row as a card, or let only the table scroll.
- Tap targets sized for a mouse
Links that are easy to click are hard to tap. Aim for about 44 pixels square for anything a thumb has to hit.
What to tell your agent
Quick check
Sign in to earn +10 XP for itQuill's editor looks fine on a laptop, but on phones the sidebar squeezes the note into a strip 100 pixels wide. What's the usual fix?