3 ms·
The web has already solved this. HiDPI screens just get a multiplication factor, where a 1px by 1px <div> shows up as 2x2 or even 3x3 physical pixels. So the
by dcposch 9y ago
The web has already solved this.
HiDPI screens just get a multiplication factor, where a 1px by 1px <div> shows up as 2x2 or even 3x3 physical pixels.
So the CSS px unit is a bit of a hack, but ultimately works well.
Stuff sized in px stays readable across a super retina iPhone X, an older screen, a projector, or a stadium Jumbotron.
That's more than can be said of physical pixel or distance units.
- baybal2 9y ago>So the CSS px unit is a bit of a hack, but ultimately works well. No, it doesn't. That "innovation" breaks programmatic graphics big time. Imaging you are drawing something on the screen, and you have no way to prevent things to alias at those 3x3 CSS pixels