Design · Intermediate · 22 min read

Mastering Responsive Design Patterns

Most visits to most sites happen on a phone. Responsive design means your layout adapts to whatever screen it lands on — this guide covers the patterns that get you there.

Sample video lesson

Watch the lesson walkthrough

Sample player (1:12 walkthrough in 4 chapters). Each chapter is a short recorded screen walkthrough of the ideas below. Play, scrub, jump between chapters, or mark the lesson watched. Progress stays in this browser only.

0:00 / 1:12

1. Design mobile-first

Starting with a narrow phone screen and expanding upward.

1. Design mobile-first

Start with the narrow screen and let the layout grow. It's easier to add columns on a wide screen than to squeeze a desktop layout onto a phone.

2. Use flexible grids

CSS grid with auto-fit columns and flexbox with wrapping handle most card layouts with no media queries at all. Reserve media queries for genuinely different layouts, not every small tweak.

3. Size tap targets for thumbs

Anything tappable should be at least 44px in both directions. Links that live inside a sentence are the exception — but menu items, buttons, and card links all count.

4. Send smaller images to smaller screens

A phone doesn't need a 2000-pixel photo. Responsive image markup lets the browser pick the right file, which keeps pages fast on mobile connections.

Sample quiz

Check your understanding

3 quick questions from this guide.

Where does the guide say to start a design?
How should tap targets be sized?
What should happen to images on smaller screens?

Keep going

Comfortable with layout? Level up with API integration.

API Integration Best Practices