Screen sizesphone

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.

DeviceCSS viewportDPRPhysical pixelsYear
Xiaomi 15 / 14400×89031200×26702025

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