Skip to main content

Breakpoints

UI Design

What are Breakpoints

Breakpoints are the screen widths at which a layout changes. Below or above a breakpoint, a responsive design switches columns, moves navigation or resizes elements so content fits the screen.

How Breakpoints work

On the web, breakpoints are set with CSS media queries. For example, a page can show one column below 600 px and two columns above it. Between breakpoints, a fluid layout stretches to fill the space.

How to choose Breakpoints

  • Follow the content: Add a breakpoint where the layout starts to break
  • Avoid device sizes: New devices appear every year
  • Use relative units: Such as em, so zoom works
  • Start small: Content should work at 320 px wide

Android's window size classes give a common reference: compact below 600dp, medium up to 840dp and expanded above.

Why Breakpoints matter

Breakpoints let one design work on phones, tablets and desktops.

Frequently asked questions

Which breakpoints should you use?

Set breakpoints where your content starts to look wrong, not at the sizes of specific devices. As a reference, Android's window size classes switch at 600dp and 840dp, with larger classes from 1200dp.

How many breakpoints does a design need?

As few as the content needs. Many products use two or three major breakpoints, such as phone, tablet and desktop, and let fluid layouts handle the sizes in between.

What is the smallest screen width to design for?

WCAG 1.4.10 asks that content work at a width equal to 320 CSS pixels without scrolling in two directions, so 320 px is a sensible minimum for web layouts.