Viewport · CSS px
–––– × ––––
Breakpoints · Tailwind
active —
- base0 px and up
- sm640 px and up
- md768 px and up
- lg1024 px and up
- xl1280 px and up
- 2xl1536 px and up
Viewport
- inner size
- —
- client size
- —
- scrollbar width
- —
- visual size
- —
- visual scale
- —
- visual offset L, T
- —
Screen
- screen size
- —
- available size
- —
- devicePixelRatio
- —
- physical pixels
- —
- orientation
- —
Viewport units · px
- 100vw × 100vh
- —
- 100svw × 100svh
- —
- 100lvw × 100lvh
- —
- 100dvw × 100dvh
- —
Safe-area insets · px
- top
- —
- right
- —
- bottom
- —
- left
- —
Media features
- prefers-color-scheme
- —
- prefers-reduced-motion
- —
- prefers-contrast
- —
- prefers-reduced-transparency
- —
- forced-colors
- —
- pointer
- —
- any-pointer
- —
- hover
- —
- any-hover
- —
- color-gamut
- —
- dynamic-range
- —
- display-mode
- —
- orientation
- —
- resolution
- —
Environment
- platform
- —
- mobile
- —
- user agent
- —