Skip to content
BENIBIX Learn

Media Query vs Responsive Breakpoint

People think a media query and a breakpoint are the same thing, and they are not. The breakpoint is the screen width where the layout should change. The media query is the CSS rule that makes the change happen at that width.

Development🌐 Web Development

Media Query

A CSS rule that only works when a test is true, like a wide screen.

A media query is a CSS rule that only applies when a test is true. The most common test is the width of the screen. You write the styles for a phone first. Then a media query adds changes for wider screens, like more columns. It can also test for dark mode, printing or a reader who wants less motion.

Example
Emma's shop shows one column of products on a phone. At 768 pixels wide and up, a media query makes it three.
Why it matters
One page has to work on a phone and a big screen. Media queries are how a page changes shape to fit.
Full entry
Design🌐 Web Design

Responsive Breakpoint

A screen width where a site's layout changes, like one column to two.

A responsive breakpoint is a screen width where a site's layout changes, like going from one column to two. It is set in CSS with a media query, a rule that checks the screen size. Good breakpoints are placed where the content starts to look wrong, not at the size of one popular phone. Most sites need only a few.

Example
At 768 pixels wide, Leo's shop grid jumps from two products a row to three.
Why it matters
A layout can only change its shape at a breakpoint. Put them in the right spots, and each width stays easy to read.
Full entry

In one line

Media Query
A CSS rule that only works when a test is true, like a wide screen.
Responsive Breakpoint
A screen width where a site's layout changes, like one column to two.

These live in different corners of the glossary (Development and Design), which is exactly why they get confused.