Apple iPhone X - Mobile Emulator

The Apple iPhone X is a popular device among web developers and designers for testing responsive layouts and mobile UI behavior.

iPhone X redefined Apple’s smartphone design, introducing a modern edge-to-edge display and gesture navigation. Year of release: 2017.

Why Test on Apple iPhone X?

  • Viewport

    Notch-based viewport exposes safe-area and layout issues

  • Pixel Density (DPR)

    High DPR makes scaling and image flaws visible.

  • Performance & Animations

    Smooth UI expectations reveal animation problems.

Viewport Size (CSS Resolution)

The CSS viewport defines how media queries, layout breakpoints, and responsive components behave.

For Apple iPhone X, the CSS viewport measures:

  • Width: 375 px
  • Height: 812 px

ℹ️ The visible height can vary slightly depending on the browser UI (Safari, Chrome, etc.).

Some analytics platforms only display the physical screen resolution (see below) instead of the CSS viewport size, so keep that in mind when interpreting results.

To see exactly how this viewport behaves in real conditions, you can simulate Apple iPhone X directly in your browser using Phone Simulator.

Test on Apple iPhone X Now

Accurate viewport simulation directly in your browser.

  • No account required
  • 30+ devices included
  • Works offline
Add to Chrome
  • Free
  • 4.8 rating
  • 9,000+ users
Phone Simulator - Chrome Extension

Pixel Density (Device Pixel Ratio)

Apple iPhone X has a device pixel ratio of 3.

Each CSS pixel is rendered using 3 physical pixels, resulting in sharper text and images.

For CSS targeting:

css
@media only screen and (-webkit-min-device-pixel-ratio: 3) {
	/* High-DPI specific styles */
}

In JavaScript:

js
window.devicePixelRatio;
// returns: 3

Physical Screen Resolution

Physical resolution refers to the actual number of hardware pixels on the display. While it does not affect CSS layouts, it is commonly shown in analytics and device specifications.

  • Width: 1125 px
  • Height: 2436 px

ℹ️ Physical resolution is not used for CSS layouts but is often shown in analytics tools.

More Devices for Mobile Testing