400 × 890 viewport: which devices use it?
400 × 890CSS px · 20:9
400 × 890 is the CSS viewport of 1 device in our research, including the Xiaomi 15 / 14. Turned sideways it becomes 890 × 400.
| Device | CSS viewport | DPR | Physical pixels | Year |
|---|---|---|---|---|
| Xiaomi 15 / 14 | 400×890 | 3 | 1200×2670 | 2025 |
Check your site at 400 × 890
Paste your address (or localhost:3000). doesitfit shows it on real screen sizes at once and tells you, bluntly, where it spills.
Free, no sign-up. Or ask Claude, ChatGPT or Codex to check it.
Designing for 400px wide
Breakpoints
Tailwind: base styles only (below sm, 640px). Bootstrap: xs. Sideways (890px): Tailwind md (sm: md: styles apply).
Room for content
368px with 16px side padding, 352px with 24px. Anything fixed wider than 400px makes the page scroll sideways (how to fix it).
Nearby sizes
Questions people ask
Which phone has a 400 × 890 viewport?
Xiaomi 15 / 14.
Is 400 × 890 the screen resolution?
No, it’s the viewport in CSS pixels. The physical screen has more pixels: the Xiaomi 15 / 14 is 1200 × 2670 (DPR 3).
Which breakpoint does a 400px wide screen use?
Tailwind CSS: base styles only (below sm, 640px). Bootstrap: xs.
Guides that help
- What is a viewport? CSS pixels vs screen resolutionA viewport is the area your page is laid out in, measured in CSS pixels, not screen pixels. See real numbers from iPhones and MacBooks, then check yours.Guides · 8 min read
- How to fix horizontal scrolling on mobile (12 causes)Page wobbles sideways on phones? The 12 usual causes of horizontal scrolling on mobile, a fix for each, and a console snippet that finds the culprit fast.Fixes · 9 min read
- Responsive breakpoints in 2026 — the widths that matterWhere 123 real phones, tablets, laptops and monitors land in CSS pixels, which responsive breakpoints actually matter in 2026, and which screens to test.Guides · 8 min read