Pixel 8 Pro screen size & viewport
The Pixel 8 Pro renders web pages at a CSS viewport of 448 × 968 in portrait (968 × 448 in landscape).
▶ Preview a website at 448×968What these numbers mean
448 × 968 is the CSS viewport size — the coordinate space your layout, media queries and vw/vh units work in. It is not the hardware pixel count: the Pixel 8 Pro packs more physical pixels behind each CSS pixel (its device pixel ratio), which is why images meant for it should be exported at 2× or 3×.
For a phone this size, a layout should already be at its single-column mobile breakpoint.
Targeting it in CSS
/* Styles for viewports up to the Pixel 8 Pro */
@media (max-width: 820px) {
.container { padding-inline: 16px; }
}
/* Exactly the Pixel 8 Pro in portrait */
@media (width: 448px) and (height: 968px) { /* … */ }
Common things that break at 448px wide
- Fixed-width elements wider than 416px (content minus typical padding) cause horizontal scroll.
- Tap targets under 44×44 CSS px are hard to hit.
- Sticky headers taller than ~15% of 968px eat too much of the screen.
- Text set below 16px triggers zoom-on-focus in form fields on iOS.
Test it live: open ViewOnPhone at 448×968, paste your URL and toggle portrait / landscape.