Skip to main content Red Hat Design System logo Contribute on Github v2.0.0 Home
About About the design systemHow we buildRoadmap
Get started OverviewDesignersDevelopers
Foundations OverviewColorGridPersonalization patternsSpacingTypography
Tokens Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries
Elements All elements Accordion Alert Audio player Avatar Back to top Badge Blockquote Breadcrumb Button Call to action Card Code block Dialog Footer Health index Icon Navigation (primary)Planned Navigation (secondary) Pagination PopoverPlanned Progress stepsPlanned Site status Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed
Patterns All patternsAnnouncementCardDisclosureFilterFormLinkLink with iconLogo wallSearch barSkip navigationSticky bannerSticky cardTabsTileVideo thumbnail
Accessibility FundamentalsContentDesignDevelopmentContributorsQa and testingAssistive technologiesResources
Design/code status Release notes Get support

Media queries tokens

Media

Ex. Token name Value Use case
--rh-media-xs (min-width: 576px) Mobile portrait
--rh-media-sm (min-width: 768px) Mobile landscape
--rh-media-md (min-width: 992px) Tablet portrait
--rh-media-lg (min-width: 1200px) Tablet landscape
--rh-media-xl (min-width: 1440px) Desktop small
--rh-media-2xl (min-width: 1680px) Desktop Large

Other libraries

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

© 2021-2024 Red Hat, Inc. Deploys by Netlify