Skip to content

#Responsive Design

1 ideas

Get new #Responsive Design ideas by email

Every Thursday: the week's best ideas, with the newest from #Responsive Design.

Responsive Design: A Practical Guide to Flexible Layouts

Responsive design is the practice of building one page that adapts itself to whatever space it is given. Instead of designing for a single screen size and hoping for the best, you describe how the layout should behave as room grows or shrinks. The result is a site that reads comfortably on a phone held in one hand, on a laptop, on a large monitor, and on the many sizes in between that nobody thought to name.

Where the idea comes from

Early web pages were often built as fixed widths, like a poster pinned to a wall. As phones became a common way to browse, designers faced a choice: maintain a separate simplified site, or make one layout that bends. Responsive design chose the second path. Its name comes from that behaviour — the page responds to its container rather than imposing a fixed shape on it.

The building blocks

Read more

Three ideas do most of the work.

  • Fluid grids: widths expressed as proportions rather than fixed pixels, so columns share available space and reflow when it runs out.
  • Flexible media: images and video that scale down with their container instead of overflowing it.
  • Media queries: style rules that apply only when conditions are met, such as a narrow viewport or a wide one.

Breakpoints are the points where the layout changes shape. Good ones follow the content: widen the window and watch for the moment the text becomes cramped or the columns look thin, then adjust there. Choosing breakpoints from a list of device names ages badly; choosing them from your own layout does not.

Two directions of thought

Mobile-first means writing the simplest, narrowest version of the styles and adding complexity as space appears. It tends to produce leaner pages and forces you to decide what matters most. Desktop-first does the reverse: design the full arrangement, then simplify it. Both work; what matters is consistency and testing at the awkward sizes, not only the tidy ones.

Typography, touch and accessibility

Readable text needs a moderate line length and generous line height. Sizes set in relative units respect the reader's own font preferences better than fixed ones. Interactive elements need enough room around them to be tapped without precision, and focus states should stay clearly visible for people navigating by keyboard. Content should reflow and remain complete when zoomed, never hidden behind a narrow screen.

Practical habits

Start from the content, not the canvas. Use relative units where you can. Avoid fixed heights that trap text. Test with a real device as well as a resized browser window, and check long words, long titles and empty states, which are common causes of sideways scrolling. Keep the page light: a responsive layout that downloads heavy assets defeats its own purpose on a slow connection.

Done well, responsive design becomes invisible. The reader simply finds the page comfortable, whatever they are holding.

#Responsive Design: frequently asked questions

How do I start a responsive design project?

Begin with the content rather than the canvas: gather the text, images and links that have to be there, then sketch the narrowest version of the layout first. From there, widen it step by step and note where things start to feel cramped. Deciding structure before decoration keeps the page honest at every size.

What do I actually need to build a responsive page?

The essentials are a working grasp of HTML, CSS and a little JavaScript, since the layout itself is mostly markup and style. On the CSS side, the three building blocks are fluid grids, flexible media and media queries. Everything else is refinement on top of those.

Should I go mobile-first or desktop-first?

Either direction works, and plenty of designers switch between them depending on the project. Mobile-first means writing the simplest narrow styles and layering complexity as room appears, which often produces leaner pages because it forces you to rank what matters. Desktop-first starts from the full arrangement and simplifies it. What counts most is staying consistent and testing the awkward in-between sizes, not just the tidy ones.

How do I decide where the breakpoints go?

Let the content choose them: widen the window slowly and watch for the moment text lines get too long or columns grow thin and awkward. Adjust the layout right there instead of aiming at a list of device names, which ages quickly as hardware changes. Breakpoints taken from your own layout keep working far longer.

What causes sideways scrolling on a phone?

The usual culprits are long unbroken words, oversized titles, fixed pixel widths and fixed heights that trap text instead of letting it grow. Empty states and placeholder content deserve a look too, since they are easy to forget once real content is in place. Testing the page at its least flattering states catches most of it.

How do I keep a responsive layout accessible?

Set type in relative units so the page respects a reader's own font-size preference, and keep line lengths and line height comfortable. Give tappable elements enough space to be hit without precision, and leave focus states clearly visible for keyboard users. Content should stay complete when the page is zoomed or viewed on a narrow screen, never quietly hidden.

Videos come from YouTube and posts from Instagram; titles and summaries are our own. All rights belong to their creators.