Media queries tokens
Media#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
Mobile portrait |
var(--rh-media-xs, (min-width: 576px))
|
|||
Mobile landscape |
var(--rh-media-sm, (min-width: 768px))
|
|||
Tablet portrait |
var(--rh-media-md, (min-width: 992px))
|
|||
Tablet landscape |
var(--rh-media-lg, (min-width: 1200px))
|
|||
Desktop small |
var(--rh-media-xl, (min-width: 1440px))
|
|||
Desktop Large |
var(--rh-media-2xl, (min-width: 1680px))
|
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit