Skip to content

Breakpoints

Breakpoints are configurable thresholds that define how a layout adapts to different screen sizes.

Overview

By setting specific widths, breakpoints determine when design adjustments occur, ensuring a consistent and responsive experience across all viewports.

In CSS, media queries are used to implement breakpoints through conditions such as min-width, which apply styles only when the viewport meets defined criteria.

Best practices

  • Begin with a mobile-first approach, defining styles for smaller screens first, as it’s easier to scale up.
  • When designing, reference only the relevant breakpoints instead of accounting for every possible size.
  • Test across real devices and viewport sizes to validate that breakpoints behave as intended.
  • Keep component behavior consistent across breakpoints to preserve familiarity.

Available breakpoints

These breakpoints align with container widths in multiples of 12 and cover the most common device ranges, providing a consistent and flexible foundation for responsive design.

Class infixDevice targetDimensionsCommon use cases
NonePhones<576pxBase styles for all devices (mobile-first)
smLarge phones, small tablets≥576pxLandscape phones, small tablets
mdTablets≥768pxTablets, small laptops
lgSmall desktops≥992pxStandard desktop monitors
xlLarge desktops≥1200pxLarge screens, high-res monitors
xxlExtra large screens≥1400px4K displays, ultra-wide monitors

Except where otherwise noted, content on this site is licensed under MIT License.