MacBook Air 13" screen size & viewport

The MacBook Air 13" renders web pages at a CSS viewport of 1280 × 800 in portrait (800 × 1280 in landscape).

▶ Preview a website at 1280×800

What these numbers mean

1280 × 800 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 MacBook Air 13" 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 tablet this size, a layout should already be at its multi-column / tablet breakpoint.

Targeting it in CSS

/* Styles for viewports up to the MacBook Air 13" */
@media (max-width: 1280px) {
  .container { padding-inline: 16px; }
}

/* Exactly the MacBook Air 13" in portrait */
@media (width: 1280px) and (height: 800px) { /* … */ }

Common things that break at 1280px wide

Test it live: open ViewOnPhone at 1280×800, paste your URL and toggle portrait / landscape.

Other Apple sizes

iPhone 16 Pro Max430 × 932 iPhone 16 Pro393 × 852 iPhone 16 Plus430 × 932 iPhone 16390 × 844 iPhone 15 Pro Max430 × 932 iPhone 15 Pro393 × 852 iPhone 15390 × 844 iPhone 14 Pro Max430 × 932
Donate