Skip to main content Home About the Design SystemRoadmap OverviewDesignersDevelopers OverviewColorGridIconographyInteractionsSpacingTypography Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Menu dropdown Navigation link Navigation (primary) Navigation (secondary) Navigation (vertical) Pagination PopoverPlanned Progress stepper Scheme toggle Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed OverviewColor PalettesCustomizingDevelopers All PatternsAccordionCall to ActionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile All Personalization PatternsAnnouncement FundamentalsAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers Design/code status Release notes Get support

Media queries tokens

Ex. Token name Value Use case Actions
--rh-media-xs (min-width: 576px)

Mobile portrait

Full CSS Variable Permalink to this token
--rh-media-sm (min-width: 768px)

Mobile landscape

Full CSS Variable Permalink to this token
--rh-media-md (min-width: 992px)

Tablet portrait

Full CSS Variable Permalink to this token
--rh-media-lg (min-width: 1200px)

Tablet landscape

Full CSS Variable Permalink to this token
--rh-media-xl (min-width: 1440px)

Desktop small

Full CSS Variable Permalink to this token
--rh-media-2xl (min-width: 1680px)

Desktop Large

Full CSS Variable Permalink to this token

Other libraries

To learn more about our other libraries, visit the getting started page.

© 2025 Red Hat Deploys by Netlify