Responsivly › Devices › Xiaomi 14
Others · phone

Xiaomi 14 screen size

The Xiaomi 14 renders websites at 393×873 CSS pixels in portrait and 873×393 in landscape. It shares the exact same viewport as the Redmi Note 13, Vivo V30, Infinix Note 40, so one test covers them all.

Viewport specs

CSS viewport (portrait)393 × 873 px
CSS viewport (landscape)873 × 393 px
Aspect ratio0.450:1
Breakpoint categorymobile
Device typephone
BrandOthers

CSS media query for Xiaomi 14

css
/* Xiaomi 14 — portrait */
@media (max-width: 393px) {
  /* your styles */
}

/* Xiaomi 14 — landscape */
@media (max-width: 873px) and (orientation: landscape) {
  /* your styles */
}

Testing tips for Xiaomi 14

Viewports this narrow are where layouts most often break: check that nothing scrolls sideways, buttons are at least 44px tall, and body text is 16px or larger.

Compare it against a tablet and a desktop width in the same view to catch breakpoint jumps — Responsivly's multi-view does this in one click.

FAQ

What is the Xiaomi 14 viewport size?
The Xiaomi 14 has a CSS viewport of 393×873 pixels in portrait orientation and 873×393 pixels in landscape.

What media query targets the Xiaomi 14?
Use @media (max-width: 393px) for portrait styles, or @media (min-width: 393px) and (max-width: 393px) to target this exact width.

How do I test my website on the Xiaomi 14?
Open Responsivly, paste your URL and pick Xiaomi 14 from the device list — it renders your site at 393×873 for free, no signup.

Similar screen sizes