Google · phone · 2023

Pixel 7a screen size

The 2023 A-series Pixel added a 90Hz screen and wireless charging to the budget line. Its 412x915 viewport at ratio 2.625 matches the mainline Pixels exactly, so it needs no dedicated breakpoint testing beyond the standard Android profile.

CSS viewport
412 × 915
Physical pixels
1080 × 2400
Pixel ratio
2.625x
PPI
429
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