Viewport

What your browser reports about its viewport, live.

Viewport · CSS px

–––– × ––––

Breakpoints · Tailwind

active —

  1. base0 px and up
  2. sm640 px and up
  3. md768 px and up
  4. lg1024 px and up
  5. xl1280 px and up
  6. 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
—