CSS viewport 1710 × 1107 pixels at 2× device pixel ratio. The exact size browsers report on the MacBook Air 15″ (M4 / M5).
The MacBook Air 15″ (M4 / M5) viewport is 1710 × 1107 CSS pixels, with a device pixel ratio of 2 on a 2880 × 1864 pixel 15.3″ display.
Test your site at MacBook Air 15″ (M4 / M5) (1710 × 1107)
When a user visits your site on the MacBook Air 15″ (M4 / M5), the browser reports window.innerWidth = 1710 and window.devicePixelRatio = 2. Your CSS media queries match against the 1710px CSS width, not the 2880 × 1864 physical pixel count of the panel.
At 1710px it hits Tailwind 2xl (1536px) and Bootstrap xxl (1400px).
For sharp full-width images, serve a source at least 3420px wide (1710 CSS px × 2 DPR) through srcset and let the browser pick it.
/* MacBook Air 15″ (M4 / M5): 1710×1107 CSS px, DPR 2 */
@media (max-width: 1710px) {
/* styles for this width and narrower */
}
@media (min-resolution: 2dppx) {
/* serve high-density assets */
}The MacBook Air 15″ (M4 / M5) reports a CSS viewport of 1710×1107 pixels. Browser toolbars reduce the visible height slightly, so window.innerHeight is usually smaller than the full screen height.
The MacBook Air 15″ (M4 / M5) uses a default device pixel ratio of 2. Each CSS pixel maps to 2×2 physical pixels on its 2880×1864 panel (default scaled resolution).
At 1710px wide it matches Tailwind 2xl (min-width 1536px) and Bootstrap xxl (min-width 1400px).
Open screensize.io, enter your URL and pick MacBook Air 15″ (M4 / M5) (1710×1107). It opens your site in a real browser window at exactly that CSS viewport, so media queries, container queries and JavaScript resize logic behave as they would on the device. For touch behaviour and the real browser engine, confirm on hardware before shipping.
See the full list of device viewport sizes →
Or browse common screen sizes by category →
Use screensize.io to preview your website at any of these resolutions instantly — no DevTools needed.
Open screensize.io →