Responsive ViewerSimulator
Applesmartphone2018

Apple iPhone XR

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

Apple iPhone XR Frame
Transparent PNGFrame Ratio: 0.94Full Preview →
CSS Viewport
414 × 896px
Physical Resolution
828 × 1792px
Device Pixel Ratio
@2xDPR
Diagonal Screen
6.1"(15.49 cm)
Aspect Ratio
19.5:9
Pixel Density
326PPI

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 XR precisely with CSS media rules.

Portrait Mode
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 414px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  /* Apple iPhone XR (Portrait) */
}
Landscape Mode
@media only screen 
  and (min-device-width: 896px) 
  and (max-device-width: 896px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  /* Apple iPhone XR (Landscape) */
}
Free Chrome Extension

Test your website on Apple iPhone XR in 1 click

Install the Responsive Viewer extension to simulate Apple iPhone XR's 414×896 viewport and DPR directly on any active browser tab.

Install Extension