Designing a website that works on smaller screens
Responsive layouts, readable content, and touch-friendly interactions that make a website easier to use on a phone.
- Topic
- Design
- Published
- Updated
- Reading time
- 6 min read
If a page makes people pinch and zoom on their phone, most of them won't bother. They go back to the search results and open the next site. Responsive design is the work of making one website read and behave well on every screen it lands on, from a small phone held in one hand to a wide desktop monitor.
This is how I approach it on client sites and on this one, in the order the decisions actually get made.
Start with the phone, not the desktop mock-up
Most layout problems on phones come from designing the desktop page first and then squeezing it. Three columns become one very long column, a sidebar lands in the middle of the content, and the button that mattered ends up four screens down.
Starting from the narrow screen forces a better question: in what order does a visitor need this information? On a phone there is only one column, so the order of the content is the design. Once that order is right, adding columns for wider screens is easy, because you are spreading out a sequence that already works.
On Capital Tyres, a five-page site for a tyre-retreading business in Pune, the brief was a clean, mobile-first site that explains the difference between hot and cold retreading. The phone layout came first: what the business does, which process suits which vehicle, proof from real customers, then how to get in touch. The desktop version uses the same order with more room.
Layouts that bend instead of break
A responsive layout should not depend on a handful of exact device widths. There are too many screen sizes, and a phone turned sideways is a different screen again. Instead of designing for an "iPhone width" and a "tablet width", I build layouts that adapt continuously:
- CSS grid and flexbox with sensible minimums. A card grid that says "make columns at least 18rem wide, as many as fit" works on every screen without a single breakpoint.
- Breakpoints where the content breaks, not where a device happens to be. When a line of text gets too long or a row of items gets cramped, that is where the layout changes.
- No fixed widths on content. Images, tables and embeds get a maximum width of 100% so they can never push the page sideways.
Type and spacing that scale
Text is most of what people read on a small business website, so it deserves the most care. A few rules I hold to:
- Body text at least 16px on phones. Smaller text is hard to read and also makes some phones zoom in when someone taps a form field.
- Comfortable line length: roughly 45 to 75 characters on wide screens. Long lines make reading tiring; on a phone the screen limits this for you.
- Fluid sizes with the CSS
clamp()function, so headings and spacing grow smoothly between a minimum and a maximum instead of jumping at breakpoints. This site uses it for nearly every heading and section gap.
Touch targets and thumbs
A mouse pointer is precise. A thumb is not. Buttons and links that are easy to click on a laptop can be frustrating to tap on a phone, especially when they sit close together.
Apple's guidelines suggest tap targets of about 44 by 44 points and Android's Material guidelines suggest 48 by 48. The Web Content Accessibility Guidelines set a lower floor of 24 by 24 CSS pixels with enough space around each target. I aim for the larger sizes on anything important: the call button, the menu, form controls and the main call to action.
Placement matters too. The actions people use most should sit where a thumb can reach them, and nothing important should depend on hover, because there is no hover on a touch screen.
Images that fit the screen and the connection
Images are usually the heaviest part of a page. Sending a 2,400-pixel-wide photo to a 390-pixel-wide phone wastes data and slows the page down for nothing.
- Responsive images with
srcsetandsizes, so the browser picks the smallest file that still looks sharp on that screen. - Modern formats such as WebP or AVIF with a fallback where needed.
- Width and height on every image, so the browser reserves the space before the image loads and the text doesn't jump around. That jumping is measured by Google as Cumulative Layout Shift.
- Lazy loading for images below the first screen, and never for the main image at the top, which should load as early as possible.
I go into more detail on image weight and loading order in a practical guide to faster websites.
Navigation and forms on small screens
The menu is where many mobile sites go wrong. Keep the number of top-level pages small, make the menu button obvious, and make sure the open menu can be closed with a tap and with the keyboard. If the site has a single main action, such as calling or requesting a quote, it can stay visible on the page rather than hidden inside the menu.
Forms deserve their own pass on a phone:
- Use the right input types (
tel,email,number) so phones show the right keyboard. - Turn on autocomplete for names, emails and addresses.
- Put labels above fields, not inside them, so people can still see what a field is for after they start typing.
- Ask only for what you need. Every extra field costs replies.
Why responsive design affects search
Google indexes and ranks the mobile version of a page. If content, links or structured data exist only on the desktop layout, Google may never see them. A page that is hard to use on a phone also tends to perform worse on Core Web Vitals, Google's measures of loading speed, responsiveness and visual stability. Responsive design is part of technical SEO, not separate from it.
How I test before launch
Browser developer tools are good for a first pass, but they don't replace real devices. Before a site goes live I check:
- A narrow phone at 320 pixels wide, a common modern phone, a tablet in both orientations, and a laptop.
- Text zoomed to 200%, which some visitors rely on.
- The main path through the site with a thumb: from the first screen to the call, form or booking.
- A slow connection, using the network throttling in Chrome's tools.
- Keyboard-only navigation, which also catches menus and dialogs that trap focus.
The full pre-launch list I use is in the website launch checklist.
The short version
Decide the order of your content on a phone first. Build layouts that adapt continuously instead of at a few device widths. Keep text readable and targets large enough for a thumb. Send images sized for the screen. Then test the main path on a real phone before you call the site finished. If you are planning a new site, this is how a brief becomes a finished build.
Written by Lay Shah, an independent developer building websites and tools for small businesses. Discuss a brief More articles