CSS · Layout and visual systems

What makes a design responsive?

Mediumresponsive designlayoutaccessibilityUpdated Oct 2026
Quiz this track

Short answer

Responsive design adapts layout and presentation to available space and user conditions. It combines fluid sizing, flexible media, content-based breakpoints and accessible interaction targets.

Responsive design is not just a set of device widths. It means the interface remains usable as the viewport, font size, orientation and input method change. The layout should reflow rather than simply shrink.

css
img {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

The moving parts

  • A viewport meta tag so mobile browsers use the device width
  • Fluid containers and flexible images instead of fixed pixel widths
  • Breakpoints chosen where content becomes hard to read or use
  • Touch targets large enough for fingers, with visible focus states
  • Text that remains readable when the user zooms or changes the default font size

Avoid hiding important content on small screens. Reorder, stack or simplify it instead. Responsive design is also about performance: a smaller viewport often means a slower network, so avoid shipping desktop-sized assets unconditionally.

There is no fixed list of breakpoints. A layout that works at 320, 768 and 1440 pixels may still break at 500 or 1100. Test the transitions, not only the named sizes.

Follow-ups you should expect

Interviewers use these to check whether the first answer was understanding or memorisation.

  1. 1Why is a viewport meta tag important?
  2. 2How do you choose breakpoints?
  3. 3What does flexible media mean?
  4. 4Why should you test with zoom and larger text?

Say it in the interview

Responsive design adapts to available space and user conditions, not just specific devices. I use fluid containers, max-width images, and breakpoints where the content actually breaks. I also care about touch targets, focus states, zoom and larger text. Hiding content on small screens is usually the wrong fix; reflowing or simplifying it is better.

Use this as a model, not a script. Saying it in your own words is what makes it survive follow-up pressure.

Related questions

Reading is step one

Now say it out loud.

Understanding an answer and delivering it under pressure are different skills. Rehearse this topic in a live CSS mock interview and get scored feedback on depth, clarity and confidence.