Breakpoints
UI DesignWhat 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.
Related terms
View all UI Design terms →Responsive Web Design
Responsive Web Design (RWD) is an approach to web design that ensures web pages render well across different devices and screen sizes. It…
Fluid Layout
A fluid layout is a layout that stretches and shrinks with the screen . Widths are set in relative units, such as percentages, instead of…
Adaptive Design
Adaptive design is an approach that serves different fixed layouts for different devices or screen sizes . The system detects the device…
Grid System
A Grid System is a structure of intersecting lines that creates a framework for organizing content in a layout. It provides a systematic…
Mobile-First Design
Mobile-first design is an approach where teams design for small screens first , then expand the design for larger screens. Luke Wroblewski…
Fluid Typography
Fluid typography is text that scales smoothly with the screen width . Instead of jumping between fixed sizes at breakpoints, a heading…
