Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How do retina displays work with media queries? Reply To: How do retina displays work with media queries?

#151203
Senff
Participant

In essence, an iPhone 5 screen will be treated as 320 x 576. However, the ACTUAL amount of pixels is 640 x 1152.

So a line that is styled as being 160 pixels wide will be taking up half of the width of the screen, but it will be drawn using 320 actual pixels.

Anything you do in the CSS, will be treated as if the screen is 320 x 576, and not the actual 640 x 1152.