Native resolution 1280 × 720 px at 1× · 210 PPI · 7″ · 16:9. Design at 1280 × 720 and export assets at 1×.
| Property | Value |
|---|---|
| CSS viewport (portrait) | 1280 × 720 px |
| CSS viewport (landscape) | 720 × 1280 px |
| Native resolution | 1280 × 720 px |
| Device pixel ratio | 1× |
| Pixel density | 210 PPI |
| Screen diagonal | 7 in |
| Panel size | 6.1 × 3.43 in |
| Aspect ratio | 16:9 |
| Total pixels | 0.92 MP |
| Released | 2021 |
| Operating system | various |
Among the 17 handhelds on this site, the Nintendo Switch OLED has the 15th largest CSS viewport area. Its 1280 px width is 267 px below the 1547 px average for this category.
Targeting the Nintendo Switch OLED in CSS
Device-specific media queries are brittle — a new model with the same width will not match. Use them for genuine per-device fixes only, and prefer width buckets for layout.
/* Target Nintendo Switch OLED specifically */
@media only screen
and (device-width: 1280px)
and (device-height: 720px)
and (-webkit-device-pixel-ratio: 1) {
/* … */
}
/* More useful in practice — the width bucket it falls into */
@media (min-width: 1280px) { /* … */ }
Compare with other Handhelds & E-Readers models
| Device | CSS viewport | Native | DPR | PPI | Diagonal |
|---|---|---|---|---|---|
| Nintendo Switch OLED | 1280 × 720 | 1280 × 720 | 1× | 210 | 7″ |
| Kindle Paperwhite 11 | 1236 × 1648 | 1236 × 1648 | 1× | 300 | 6.8″ |
| Steam Deck LCD | 1280 × 800 | 1280 × 800 | 1× | 216 | 7″ |
| Kindle Scribe | 1860 × 2480 | 1860 × 2480 | 1× | 300 | 10.2″ |
| reMarkable 2 | 1404 × 1872 | 1404 × 1872 | 1× | 226 | 10.3″ |
| ASUS ROG Ally | 1920 × 1080 | 1920 × 1080 | 1× | 315 | 7″ |
| Steam Deck OLED | 1280 × 800 | 1280 × 800 | 1× | 204 | 7.4″ |
| Nintendo Switch Lite | 1280 × 720 | 1280 × 720 | 1× | 267 | 5.5″ |
| Lenovo Legion Go | 2560 × 1600 | 2560 × 1600 | 1× | 343 | 8.8″ |
Questions about the Nintendo Switch OLED screen
What is the screen size of the Nintendo Switch OLED?
The Nintendo Switch OLED has a 7-inch display. In CSS the viewport measures 1280 × 720 px in portrait, and the panel itself has 1280 × 720 physical pixels at 210 PPI.
What resolution should I design for on the Nintendo Switch OLED?
Design at 1280 × 720 and export assets at 1×. That gives you 1280 × 720 px images, which is exactly what the panel renders. Designing directly at 1280 × 720 means every measurement is 1 times larger than the CSS values you will write.
What is the device pixel ratio of the Nintendo Switch OLED?
The Nintendo Switch OLED reports a device pixel ratio of 1. One CSS pixel therefore covers one device pixel. You can read it in JavaScript with window.devicePixelRatio.
Which other devices have the same viewport as the Nintendo Switch OLED?
2 other devices share the 1280 × 720 CSS viewport: Nintendo Switch, Nintendo Switch Lite. A layout that works on one works on all of them.
Related
window.innerWidth/innerHeight reported by the stock browser with no browser chrome. See methodology and sources.