Google · phone · 2022
Pixel 6a screen size
Google's 2022 midranger brought Tensor to the A-series at a budget price. It shares the exact 412x915 viewport and 2.625 ratio of the Pixel 6, making one test profile cover both; note the centered punch-hole camera at the top.
- 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 */
}