Laptop HD 720p screen size & viewport

The Laptop HD 720p renders web pages at a CSS viewport of 1280 × 720 in portrait (720 × 1280 in landscape).

▶ Preview a website at 1280×720

What these numbers mean

1280 × 720 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 Laptop HD 720p 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 desktop / laptop this size, a layout should already be at its multi-column / tablet breakpoint.

Targeting it in CSS

/* Styles for viewports up to the Laptop HD 720p */
@media (max-width: 1280px) {
  .container { padding-inline: 16px; }
}

/* Exactly the Laptop HD 720p in portrait */
@media (width: 1280px) and (height: 720px) { /* … */ }

Common things that break at 1280px wide

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

Other Desktop & laptop sizes

MacBook Pro 16"1728 × 1117 MacBook Pro 14"1512 × 982 MacBook Air 15"1440 × 900 iMac 24"2240 × 1260 Surface Pro 111440 × 960 Surface Laptop 71504 × 1000 Dell XPS 151920 × 1200 HP Spectre x3601920 × 1080
Donate