OnePlus, Xiaomi & MotorolaAndroid · phone · 2025

Xiaomi 15 / 14 viewport size

400 × 890CSS px · 3× DPR · 1200×2670 physical

The Xiaomi 15 / 14 gives web pages a 400 × 890 CSS pixel viewport in portrait. That’s the width your layout and media queries actually see, not the 1200 × 2670 physical pixels of the screen: with a device pixel ratio of 3, every CSS pixel is 3 × 3 real pixels.

CSS viewport (portrait)400 × 890what web pages get
Landscape890 × 400phones and tablets turned sideways
Device pixel ratio3×1 CSS px = 3 × 3 screen pixels
Physical resolution1200 × 26706.36″ screen
Visible in the browser400 × 770Chrome (Android), first load
Released2025Android phone

See your site on a Xiaomi 15 / 14

Paste your address (or localhost:3000). doesitfit shows it at exactly 400 × 890, with Chrome (Android)’s bars if you want them, and tells you if anything spills.

Free, no sign-up. Or ask Claude, ChatGPT or Codex to check it.

What a web page actually sees

The full viewport is 400 × 890, but the browser’s own bars take some of it. In Chrome (Android) a page gets about 400 × 770 on first load (40px status bar, 56px Chrome toolbar and 24px gesture bar on first load). That’s your real “above the fold”. Use 100dvh instead of 100vh for full-height sections, or they’ll hide behind the toolbar (why).

SettingWidthHeight
Full viewport (portrait)400px890px
Visible on first load (Chrome (Android))400px770px
Landscape (full)890px400px

What it means for your CSS

Breakpoints

At 400px: Tailwind uses base styles only (below sm, 640px); Bootstrap uses xs. In landscape (890px): Tailwind uses md (sm: md: styles apply), Bootstrap md.

Tailwind breakpoints on real devices

Content width

With 16px of padding on each side your text column is 368px; with 24px it’s 352px. Text closer than 8px to the edge looks cramped (more).

Sharp images

A full-width image needs about 1200px of real pixels (400 × 3).

<img src="hero-1200.jpg"
  srcset="hero-800.jpg 800w, hero-1200.jpg 1200w"
  sizes="100vw" alt="…">

Styles for this width

Content-first breakpoints beat device lists, but if something breaks at this width:

@media (max-width: 400px) {
  /* screens 400px wide and narrower */
}

How common is 400 × 890?

400 × 890 isn’t in StatCounter’s top lists for Aug 2026 on its own, but nearby sizes behave the same way. See the most common screen sizes.

Close in size:

Everything about the 400 × 890 viewport · All OnePlus, Xiaomi & Motorola sizes

Questions people ask

What is the viewport size of the Xiaomi 15 / 14?

400 × 890 CSS pixels in portrait (890 × 400 in landscape), with a device pixel ratio of 3. The screen itself is 1200 × 2670 physical pixels.

How much of the Xiaomi 15 / 14 screen does a web page get in Chrome?

About 400 × 770 on first load: the 40px status bar, 56px Chrome toolbar and 24px gesture bar on first load. Design your first screen for that height, not the full 890px.

Which CSS breakpoint does the Xiaomi 15 / 14 fall into?

At 400px wide, Tailwind CSS uses base styles only (below sm, 640px) and Bootstrap uses its xs tier. In landscape (890px) Tailwind uses md (sm: md: styles apply).

How wide should images be for the Xiaomi 15 / 14?

A full-width image needs about 1200px of real pixels (400 CSS px × DPR 3) to look sharp. Use srcset so smaller screens don’t download it.

How can I test my website on a Xiaomi 15 / 14 without one?

Open doesitfit.lol, paste your address (localhost works too) and pick the Xiaomi 15 / 14. It shows your site at exactly 400 × 890 CSS pixels and flags anything that spills past the edge.

Guides that help

About these numbers

Confidence: Estimate: not measured in a browser yet. Android Chrome rounds the CSS size up (ceil of pixels ÷ DPR).

Sources include DeviceAtlas, Chrome DevTools device list (EmulatedDevices.ts), iosref.com, ios-resolution.com. Researched September 2026.