Mobile-first design means designing and building for the smallest screen first, then enhancing the layout as more space becomes available. It matters for two reasons. Google indexes and ranks the mobile version of your site, and for most sites a large share of visitors arrive on a phone, so the mobile experience is the one many people judge you by. Check your own analytics for the split before you decide where design effort goes.

What mobile-first design is

The old way: desktop-first

  1. Design for desktop
  2. Shrink it down for mobile
  3. Hope it works

Result: cramped mobile pages, hidden features and frustrated users.

The mobile-first way

  1. Design for the small screen
  2. Enhance for larger screens
  3. Layer features on progressively, so the basics work everywhere

Result: a clean mobile experience that scales up without losing anything.

Why mobile-first works

It forces prioritization

Small screens can’t fit everything, so you have to:

  • Identify what matters most
  • Cut unnecessary elements
  • Focus on the core user tasks
  • Simplify navigation

It tends to perform better

Starting small pushes you toward:

  • Smaller pages
  • Faster loads
  • Less JavaScript
  • Properly sized images

It scales up more easily

It is easier to add features for larger screens than to strip them out for smaller ones.

Mobile-first principles

1. Content first

Start with content, not decoration.

Ask:

  • What do users need to accomplish?
  • What information is essential?
  • What can be removed?

2. Touch-friendly targets

Design for fingers, not cursors.

Guidelines:

  • Make tap targets at least 24 by 24 CSS pixels, the WCAG 2.2 AA minimum (2.5.8), and aim for 44 by 44 (2.5.5) on primary controls
  • Leave enough space between targets that a thumb can’t hit two at once
  • No interactions that depend on hover
  • Navigation within easy reach

3. Readable typography

Text must be readable without zooming.

Guidelines:

  • Body text of at least 16px
  • Line height of about 1.5
  • Sufficient contrast
  • Comfortable line length (roughly 45 to 75 characters)

4. Fast loading

Phones are slower than laptops and often on weaker connections.

Guidelines:

  • Serve images sized for the screen, in modern formats
  • Minimize JavaScript
  • Lazy-load images below the fold (never the main image at the top)
  • Use caching

Our web performance guide covers the Core Web Vitals thresholds to aim for.

5. Thumb-friendly navigation

Many people use a phone one-handed.

Guidelines:

  • Keep important actions within thumb reach
  • Consider bottom navigation for the key tasks
  • Avoid the top corners for primary actions
  • Plan layouts around the thumb’s natural reach

These principles overlap heavily with accessibility. Our plain-English WCAG guide covers the rest.

Implementation guide

CSS approach

Write the base styles for small screens, then add min-width media queries as the screen grows:

/* Base styles (mobile) */
.container {
  padding: 16px;
}

/* Tablet and up */
@media (min-width: 768px) {
  .container {
    padding: 24px;
  }
}

/* Desktop and up */
@media (min-width: 1024px) {
  .container {
    padding: 32px;
    max-width: 1200px;
  }
}

Breakpoints

Set breakpoints where your content starts to look wrong, not at the widths of particular devices. As a starting point, these common widths cover most layouts:

Breakpoint Typical use
Base styles (no query) Phones
768px Tablets and large phones in landscape
1024px Small laptops
1280px Desktops
1536px Large screens

Mobile:

  • A menu button that opens the full navigation
  • A bottom navigation bar for the few key tasks
  • A full-screen overlay menu

Desktop:

  • Horizontal navigation
  • Mega menus
  • Sidebar navigation

Image strategy

Let the browser pick the right file size with srcset and sizes, and give every image its dimensions so the layout doesn’t jump while it loads:

<img
  src="photo-800.webp"
  srcset="photo-400.webp 400w, photo-800.webp 800w, photo-1600.webp 1600w"
  sizes="(min-width: 1024px) 50vw, 100vw"
  width="1600"
  height="1067"
  alt="Description of the photo"
  loading="lazy"
/>

Use loading="lazy" only for images below the fold. The main image at the top of the page should load immediately. Keep <picture> with media queries for art direction, when a different crop suits a small screen.

Common mistakes

1. Hiding content on mobile

If it isn’t important enough for mobile, is it important at all?

Instead: prioritize and reorganize. Don’t hide.

2. Tiny tap targets

Links and buttons that are too small, or too close together, frustrate users.

Instead: at least 24 by 24 CSS pixels, and 44 by 44 for primary controls.

3. Fixed-width elements

Elements that don’t resize break layouts.

Instead: use relative units (%, vw, rem) and flexible grids.

4. Unoptimized images

Oversized images are among the biggest drags on mobile performance.

Instead: serve images sized for the screen.

5. Desktop-only features

Hover states and complex interactions that don’t work on touch.

Instead: design for touch first and enhance for the mouse.

Testing mobile-first design

Browser tools

  • Chrome DevTools device mode
  • Firefox Responsive Design Mode
  • Safari Responsive Design Mode
  • Lighthouse in Chrome DevTools, or PageSpeed Insights, for performance and accessibility checks

Real device testing

Browser tools aren’t enough. Test on:

  • Several phone sizes
  • Both iOS and Android
  • More than one browser
  • A throttled or slow connection

Key metrics

  • Core Web Vitals: passing in the field, on mobile
  • Lighthouse performance score on mobile: 90 or above is a good target
  • Tap targets: no undersized or overlapping targets
  • Text: readable without zooming

Mobile-first checklist

Layout

  • Single column on small screens
  • Flexible grid
  • No horizontal scrolling
  • Enough whitespace
  • Easy to reach with a thumb
  • Clear and simple
  • Works without JavaScript
  • Shows where you are

Typography

  • Body text of 16px or more
  • Readable without zooming
  • Good contrast
  • Comfortable line length

Touch

  • Targets of at least 24px, 44px for primary controls
  • Enough spacing between targets
  • No hover-only interactions
  • Clear feedback on tap

Performance

  • Images sized for the screen
  • Minimal JavaScript
  • Fast loads
  • Works on slow connections

Forms

  • Appropriate input types (email, tel, number)
  • Fields large enough to tap
  • Clear labels
  • Easy error correction

The business case

Better conversions

Easier pages get more completed tasks, faster pages lose fewer visitors before they load, and accessible pages reach more people.

Better SEO

Google uses the mobile version of your pages for indexing and ranking, and Core Web Vitals are part of how its systems assess page experience. A weak mobile site is a weak site in search, which is why mobile performance sits at the center of our SEO and website development work.

Lower costs

Building mobile-first usually means less rework, cleaner code and easier maintenance than retrofitting a desktop design.

Getting started

  1. Audit your current site on a real phone.
  2. List the pain points mobile visitors hit.
  3. Prioritize content for small screens.
  4. Redesign mobile-first.
  5. Test on real devices.
  6. Iterate based on field data.

The decision rule: if a feature or block of content can’t earn its place on a phone screen, question whether it belongs on the desktop page either.