Applesmartphone2018
Apple iPhone X
Complete CSS viewport dimensions, device pixel ratio, physical screen specs, and downloadable high-resolution transparent mockup.

CSS Viewport
375 × 812px
Physical Resolution
1125 × 2436px
Device Pixel Ratio
@3xDPR
Diagonal Screen
5.8"(14.73 cm)
Aspect Ratio
19.5:9
Pixel Density
463PPI
Hardware & System Profile
Operating SystemiOS 14.0
Rotation SupportedYes (Portrait & Landscape)
Network Simulation4G
Screen CurvatureFlat Display
Device User-Agent String
Use this string in Chrome DevTools or curl to simulate this exact device.
Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Mobile/15E148 Safari/604.1
CSS Media Query
Target Apple iPhone X precisely with CSS media rules.
Portrait Mode
@media only screen
and (min-device-width: 375px)
and (max-device-width: 375px)
and (-webkit-min-device-pixel-ratio: 3) {
/* Apple iPhone X (Portrait) */
}Landscape Mode
@media only screen
and (min-device-width: 812px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {
/* Apple iPhone X (Landscape) */
}Free Chrome Extension
Test your website on Apple iPhone X in 1 click
Install the Responsive Viewer extension to simulate Apple iPhone X's 375×812 viewport and DPR directly on any active browser tab.