Google · phone · 2024

Pixel 8a screen size

The 2024 A-series brought Tensor G3 and a 120Hz panel to the midrange. Its viewport is the standard Pixel 412x915 at 2.625, which makes it a drop-in stand-in for most of the Pixel lineup when checking sub-420px breakpoints.

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

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