HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by loeg | Hacker News Reader
Parent
Full thread
loeg
·
How did you come up with that? iphone 8 is 1334x750.
View on HN
saagarjha
·
It looks like the parent commenter is talking in points (iPhone 8 is a 2x Retina Display), while you're speaking about pixels.
myguysi
·
Yep!
loeg
·
Ok; the classic 640x480 figure is also in pixels, so I'm not sure why the parent commenter would use a different unit to try and draw a comparison.
Mikhail_Edoshin
·
There must be a pixel-per-inch ratio in this equation. A 14" monitor running at 640x480 will have around 57 ppi, while iPhone X has like 462 ppi.
myguysi
·
We’re taking about rendering UI... If I render a div with width=375px and height=667px it will fill the screen on an iPhone 8 because it renders @2x.
Reply on news.ycombinator.com