Google · phone · 2021

Pixel 6 screen size

Google's 2021 flagship debuted the Tensor chip and the camera-bar design. Its 412x915 CSS viewport at the non-integer 2.625 ratio is the canonical modern Android test target, sitting just above the common 390px iPhone bucket.

CSS viewport
412 × 915
Physical pixels
1080 × 2400
Pixel ratio
2.625x
PPI
411
Screen size
6.4"

Media queries

Target this device (portrait)
@media only screen and (device-width: 412px) and (device-height: 915px) and (-webkit-device-pixel-ratio: 2.625) and (orientation: portrait) {
  /* styles */
}
Viewport width and up
@media (min-width: 412px) {
  /* styles */
}
Viewport width and down
@media (max-width: 412px) {
  /* styles */
}

Related devices