Skip to content

Apple · iPhone · 2025

iPhone 17 Air Screen Size & CSS Viewport

Ultra-thin 6.5-inch iPhone 17 Air viewport measuring 420 × 912 CSS pixels (1260 × 2736 physical pixels at 3x DPR).

CSS Viewport

420 × 912

Physical Pixels

1260 × 2736

Pixel Ratio (DPR)

3x (460 PPI)

Screen Size

6.5" (19.5:9)

Safe Area Insets

62px / 34px

Tailwind Prefix

Default (< 640px sm)

Scaled Viewport Preview
top 62px
420 × 912Portrait · 3x
bottom 34px

Dynamic Island top safe area (62px) and 34px bottom home bar. 6.5-inch panel lands cleanly between standard 402px and Pro Max 440px widths.

Copy-paste CSS

iPhone 17 Air CSS media queries & safe areas

Use content-based responsive breakpoints first, and reach for these snippets when auditing device-specific edge cases.

Responsive max-width query

/* iPhone 17 Air Portrait (420x912, 3x) */
@media only screen and (max-width: 420px) {
  /* styles for iPhone 17 Air and narrower viewports */
}

Exact device & DPR query

/* Target iPhone 17 Air specifically (420px width, 3x DPR) */
@media only screen
  and (device-width: 420px)
  and (device-height: 912px)
  and (-webkit-min-device-pixel-ratio: 3) {
  /* device-specific overrides */
}

Safe-area inset helpers

/* iPhone 17 Air safe-area padding (top 62px, bottom 34px) */
.sticky-header {
  padding-top: env(safe-area-inset-top, 62px);
}
.sticky-footer {
  padding-bottom: env(safe-area-inset-bottom, 34px);
}

Frontend QA notes

What breaks most often on iPhone 17 Air

Browser environment: iOS Safari (WebKit) · Mobile.

  • Test typography line lengths at 420px where 16px body copy hits roughly 45–55 characters per line.
  • Validate full-bleed fixed headers with env(safe-area-inset-top) and viewport-fit=cover.
  • Compare alongside 375px and 440px viewports simultaneously in Sizzy to verify fluid clamp() scaling.

Side-by-side

Compare iPhone 17 Air with nearby devices

Check how viewport width and pixel ratio shift across adjacent models.

DeviceViewportPhysicalDPR
iPhone 17 Air420 × 9121260 × 27363x
iPhone 17402 × 8741206 × 26223x
iPhone 17 Pro402 × 8741206 × 26223x
iPhone 17 Pro Max440 × 9561320 × 28683x
iPhone 16 Plus430 × 9321290 × 27963x

Test iPhone 17 Air + 50 devices side by side

Stop resizing Chrome DevTools one viewport at a time. Sizzy renders iPhone 17 Air, narrow 360px Android, iPad, and desktop simultaneously with synced scrolling, unified console, and one-click device screenshots.

Questions

iPhone 17 Air viewport questions

  • The iPhone 17 Air CSS viewport size is 420 × 912 pixels in portrait (912 × 420 pixels in landscape).