Breakpoints

Lecture notes: what breakpoints are, how to choose them, common values for phones, tablets and desktops

1. What are breakpoints

A breakpoint is a viewport width value at which the site layout changes. Breakpoints are used in media queries to determine when to apply particular styles.

For example, if below 480px you have one layout and above 480px another, then 480px is a breakpoint.

2. How to choose breakpoints

To determine breakpoints, you need to place the most popular devices along a conceptual line from 0 to 2000+ pixels. Devices naturally group together:

  • Phones: 320–480px
  • Tablets (portrait): 600–768px
  • Tablets (landscape): 768–1024px
  • Desktops: 1280–1600px
  • Large desktops: 1920px+

Two approaches to defining them

Approach Description Example
Through real devices Boundaries pass through the widths of specific devices 320px, 768px, 1224px, 1600px
Between groups Boundaries pass between groups of devices 600px, 900px, 1200px, 1800px

Both approaches are valid. In real projects, breakpoints are usually already defined in the technical specification or design mockups.

3. Rules for working with breakpoints

  • Choose them once for the whole project — all blocks restructure at the same breakpoints
  • Avoid different breakpoints for different blocks — this creates chaos in the code
  • Exception: sometimes one specific block (for example, the menu) doesn’t fit into any breakpoint — then it’s acceptable to add a separate media query just for it

Menu example

At a width of 1350px the full desktop menu is shown. At 1349px — a shortened version (smaller logo). And at tablet width — the mobile menu (burger). To transition between the full and shortened menu, a separate breakpoint is added just for this block.

4. Summary table

Topic Key point
Breakpoints Chosen once for the whole project; the exception is individual blocks

Vitalii Kaplia

Founder, Web Developer & WordPress Expert

I became interested in programming back in 1997. The first acquaintance with a future profession was using Visual Basic. In…

More about author

A digital product engineer and web solutions architect

Free consultation + cost calculation

Let’s discuss your project?

Free consultation + cost calculation

More interesting articles

Customer login

This site uses cookies

We use cookies to personalize content and ads, provide social media features, and analyze our traffic. We also share information about your use of our website with our social media, advertising, and analytics partners, who may combine it with other information you have provided to them or collected when you use their services. By continuing to use our site, you consent to our use of cookies and accept our Privacy Policy and Terms of Use.

Virtual assistant
Hi! I'm the KAPLIA.PRO virtual assistant! I can tell you about our services, portfolio projects, ballpark pricing, and how we work — from websites and eCommerce to web apps, CRMs, bots, and AI agents. Ask away!

By continuing with the AI assistant, I agree to the site’s terms of use and privacy policy.

AI assistant may make mistakes in responses