Breakpoints
Breakpoints are the screen widths at which a responsive website changes its layout, for example from three columns on desktop to one on a phone.
In CSS, breakpoints are written as media queries (or container queries, which respond to the size of a component's container instead of the screen). Common breakpoints sit around phone, tablet and desktop widths, but the best ones are wherever the content starts to look cramped.
In Framer
Framer shows each breakpoint as its own frame on the canvas. Changes on the primary breakpoint flow down to the others unless you override them.
How Regular approaches it
We use as few breakpoints as possible and let type and spacing scale fluidly between them. Fewer breakpoints means fewer layouts to test and maintain.
Sources and further reading
- Using media queries, MDN Web Docsdeveloper.mozilla.org