Googlesmartphone2024
Google Pixel 8
Complete CSS viewport dimensions, device pixel ratio, physical screen specs, and downloadable high-resolution transparent mockup.
CSS Viewport
412 × 915px
Physical Resolution
1080 × 2400px
Device Pixel Ratio
@2.625xDPR
Diagonal Screen
null"
Aspect Ratio
20:9
Pixel Density
2.625PPI
Hardware & System Profile
Operating SystemAndroid 16.0
Rotation SupportedYes (Portrait & Landscape)
Network Simulation5G
Screen CurvatureFlat Display
Device User-Agent String
Use this string in Chrome DevTools or curl to simulate this exact device.
Mozilla/5.0 (Linux; Android 16; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.260 Mobile Safari/537.36
CSS Media Query
Target Google Pixel 8 precisely with CSS media rules.
Portrait Mode
@media only screen
and (min-device-width: 412px)
and (max-device-width: 412px)
and (-webkit-min-device-pixel-ratio: 2.625) {
/* Google Pixel 8 (Portrait) */
}Landscape Mode
@media only screen
and (min-device-width: 915px)
and (max-device-width: 915px)
and (-webkit-min-device-pixel-ratio: 2.625) {
/* Google Pixel 8 (Landscape) */
}Free Chrome Extension
Test your website on Google Pixel 8 in 1 click
Install the Responsive Viewer extension to simulate Google Pixel 8's 412×915 viewport and DPR directly on any active browser tab.