UICheck

CSS breakpoints: which screen sizes to design for

A breakpoint is the width where your layout changes, for example from one column to two. Picking breakpoints from a list of devices goes out of date every year. A better rule: add a breakpoint where your content starts to look wrong, and test the widths in between as carefully as the breakpoints themselves.

2 min readUpdated 3 October 20264 fixes with code

01

A sensible starting set

Most sites do well with a handful of breakpoints, written mobile-first (styles for phones by default, then min-width queries for larger screens):

  • Phones: the default, no media query (roughly 320–479px)
  • Large phones: min-width 480px
  • Tablets: min-width 768px
  • Laptops: min-width 1024px
  • Desktops: min-width 1280px, with a max-width on the content so lines don’t get too long
.grid { display: grid; gap: 16px; }
@media (min-width: 768px)  { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

02

Let content decide

Slowly widen the browser and watch the page. Where something looks cramped, too wide or awkward, that is where a breakpoint belongs, even if it is 900px and not a device size.

03

Use flexible layouts between breakpoints

Fluid sizes need fewer breakpoints. Grid with auto-fit, clamp() for type and min() for widths adapt smoothly at every width.

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }

04

Test the widths in between

Bugs hide between breakpoints: a menu that wraps at 830px, a table that overflows at 700px. Test common device widths (360, 390, 768, 1024, 1280, 1440) and sweep everything in between.

Checklist

0 of 5 done

Questions

What are the standard CSS breakpoints?

There is no official standard. Common choices are 480, 768, 1024 and 1280px, but the right ones are where your own layout needs to change.

Mobile-first or desktop-first?

Mobile-first (min-width queries) usually needs less CSS and makes phones the default, which is where most visitors are.

How many breakpoints do I need?

Usually three or four. Fluid grids and clamp() for type mean you need fewer.

All 10 guides

Find these bugs before your client does

Free account, 5 checks a day, no card. UICheck finds sideways scroll, cut-off text, overlaps and small tap targets on every screen.