Most visitors to a website are not sitting at a desk with a large monitor. They are on a phone, on a train, with one thumb and limited patience. If your site is awkward to use on that phone, they will leave, and they will not tell you why. That is why responsive web design is not an optional extra on any project I take on.
Here are the ten practices I follow, with the reasoning behind each one.
1. Start from the smallest screen
Designing mobile first forces you to decide what matters. A phone screen has room for one clear message and one clear action. If a page works there, adding space for larger screens is easier than trying to squeeze a desktop layout down. I write base styles for small screens and use media queries to add complexity as space grows.
2. Let content decide the breakpoints
Common breakpoints like 768 and 992 pixels are a good start, and Bootstrap's grid follows them. But I also resize the browser slowly and watch for the point where the layout starts to look wrong, then fix it there. A layout should change because it needs to, not because a device list says so. The MDN guide to using media queries is a solid reference.
3. Use a flexible grid
Fixed widths are the quickest way to break a layout. I use percentage-based columns, Flexbox and CSS Grid so sections stack and reflow naturally. With Bootstrap, I rely on its 12 column grid and adjust gutters and column spans for each breakpoint instead of writing custom width rules.
4. Make images flexible and efficient
Images should never overflow their container, and they should not be larger than they need to be. I set a maximum width of 100 percent, give images width and height so the page does not jump while loading, and serve appropriately sized files. In Next.js the built-in image component handles much of this, including modern formats and lazy loading.
5. Scale type and spacing
A heading that looks balanced on desktop can dominate a phone. I reduce heading sizes at smaller widths, keep body text comfortable to read, and use line lengths that are not too wide on large screens. Spacing gets the same attention: generous padding on desktop often needs trimming on mobile.
6. Design for touch
Fingers are less precise than a mouse. Buttons and links need enough size and space to be tapped without mistakes. I aim for tap targets of roughly 44 by 44 pixels, keep related links apart and never rely on hover alone to reveal something important, because phones have no hover.
7. Rethink navigation for small screens
Long horizontal menus do not fit on phones. A collapsible menu, a drawer or a simplified set of links works better. The important part is that it is easy to open, easy to close, and that keyboard and screen reader users can still reach every link. I also close the menu automatically after a link is chosen.
8. Treat tables, forms and embeds with care
These are the usual troublemakers. Wide tables can scroll horizontally inside their own container. Form fields should be full width on mobile with clear labels and the right input types, so the phone shows the correct keyboard. Maps and videos should scale with their container instead of keeping a fixed pixel size.
9. Keep performance in mind
Responsive design is not only about layout. A heavy page on a slow mobile connection feels broken. I compress images, avoid loading libraries that are not needed and keep an eye on Core Web Vitals. A fast site is part of a good mobile experience.
10. Test on real devices
Browser device mode is useful, but it does not replace holding a real phone. I test on at least one small phone, one larger phone and a tablet when possible, in both orientations. I look for text that is cut off, overlapping elements, sideways scrolling and awkward tap targets. If a device is not available, I use a cloud testing tool or ask a colleague.
A quick summary table
| Practice | What it protects |
|---|---|
| Mobile first | Focus and clarity |
| Flexible grid | Layouts that reflow cleanly |
| Responsive images | Speed and stability |
| Touch friendly targets | Usability on phones |
| Real device testing | Catching what emulators miss |
How this fits with accurate design implementation
Some people assume responsive means loose. In reality it needs more care, because you are making a layout work at many sizes while keeping it recognisably the same design. That is where my approach to pixel perfect web design connects: match the supplied layouts exactly, then follow the same visual rules in between.
Common responsive bugs and quick fixes
| Symptom | Likely cause | What I check |
|---|---|---|
| Page scrolls sideways | An element wider than the viewport | Fixed widths, long unbroken text, wide images or tables |
| Text looks tiny on a phone | Missing viewport meta tag or fixed font sizes | Viewport tag and relative units |
| Buttons hard to tap | Targets too small or too close | Padding and spacing at mobile width |
| Layout jumps while loading | Images without dimensions | Width and height attributes or aspect ratio |
| Menu overlaps content | Positioning and z-index conflicts | Stacking order and overflow settings |
Fluid type with clamp
Instead of jumping between fixed font sizes at breakpoints, modern CSS lets a size grow smoothly between a minimum and a maximum.
h1 {
font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}
The heading never gets smaller than 1.75rem or larger than 2.5rem, and scales fluidly in between. It is a small change that removes a lot of breakpoint rules and makes the page feel more natural at every width.
Do not forget the viewport tag
It sounds basic, but a missing viewport meta tag is a classic reason a page looks like a shrunken desktop site on a phone. Frameworks like Next.js add it by default, but it is always worth confirming when something looks wrong.
Final thoughts
Responsive web design is about respect for the person using your site, whatever device they happen to hold. A flexible grid, sensible breakpoints, scalable media, touch friendly controls and real testing cover most of what matters.
If your current site is awkward on mobile, or you are planning a new one, you can contact me or take a look at my recent work.






