Apple · phone · 2023

iPhone 15 screen size

September 2023 mainstream iPhone that brought the Dynamic Island and USB-C to the non-Pro line, with a 6.1-inch Super Retina XDR OLED. Its 393x852 at 3x viewport is now the single most common iPhone size in the wild, making it the default phone test target for most teams.

CSS viewport
393 × 852
Physical pixels
1179 × 2556
Pixel ratio
3x
PPI
460
Screen size
6.1"

Media queries

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

Related devices