Create your free BvLogic ID to continue this course and save your progress.
Responsive Design 5 lessons
  1. 1 Design for the phone people actually own
  2. 2 Fluid layout before media queries sign in to open
  3. 3 Images, video and weight sign in to open
  4. 4 Navigation, forms and touch sign in to open
  5. 5 Testing what you built sign in to open
Course overview
Data: video · change

This lesson: 122KB

Responsive Design · Lesson 1 of 5

Design for the phone people actually own

Start from the hardest case, not the easiest.

Most of your traffic in Pakistan is a mid range Android on mobile data, sometimes on a connection that drops. Designing on a large monitor and shrinking afterwards produces a site that works beautifully for the smallest part of your audience.

Mobile first is a CSS strategy, not a slogan. Write the base styles for narrow screens, then add complexity at wider widths with min width media queries. Doing it the other way means every small screen has to override a pile of desktop rules, which is more code, more overrides and more ways to be wrong.

The viewport meta tag is required. Without it a phone pretends to be a desktop, renders at about 980 pixels and zooms out, and your careful responsive work never runs at all. It is one line and its absence is still common.

Touch targets. Roughly 44 pixels minimum, with space between them. A row of small links is unusable with a thumb, and the failure is invisible on a mouse.

Test at 320px. Not because many phones are that narrow, but because anything that survives 320 survives everything, and it exposes fixed widths immediately.

Data costs money here. A three megabyte hero image is a real cost to a real person, and it is also why they leave before it arrives.

The most useful habit is simple: connect a cheap phone and open your own site on mobile data, not on wifi. Five minutes of that teaches more than any checklist, and it is uncomfortable in a way that is worth experiencing.

Lab — try it yourself

Open your site on a real mid range phone using mobile data. Note the first three things that annoy you, and fix those first.

Check what you learned

Create your free BvLogic ID to take the quiz and record your score.

Create your BvLogic ID
Continue to lesson 2 Up next 2. Fluid layout before media queries