Skip to content
BENIBIX Learn

Responsive Breakpoint

Design🌐 Web DesignResponsive Layout

Also known as CSS Breakpoint, Layout Breakpoint, Media Query Breakpoint

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

Think of it like

It is like the line where you switch from walking to running. Past it, you move a new way.

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.

Definition

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 code

css
.grid { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
Below 768 pixels the grid has one column; from 768 up it has two.
Each jump in columns happens at a breakpoint.

Common mistake

Setting breakpoints for named devices. New phones come out each year; follow the content.

Key takeaways

  1. 1
    A width where it changes. Set with a media query.
  2. 2
    Follow the content. Not one phone.
  3. 3
    Only a few. Each one is work.

Compare

Learn it properly