4 ms·
if the OS reports the PPI correctly, px (1/96") and pt (1/72") give you real dimensions.
by tracker1 6y ago
if the OS reports the PPI correctly, px (1/96") and pt (1/72") give you real dimensions.
- danShumway 6y agoA 5 inch wide page on a desktop and a 5inch wide page on a mobile device have different concerns because they're controlled by different pointer devices. It's a little irritating that they both collapse to the same touch interface.
- tracker1 6y agoThat's the case for most ui/ux at a given point for responsive design, regardless of the ppi/size reporting. Also, I'm refering to text/font rendering, not UX breakpoints, though I do understand the issue... the problem is, short of sniffing the user agent for "phone" or "mobile" there's no way to tell for sure... touch interfaces are unreliable as many desktops also have touch support. Note: I have used the phone/mobile sniffing to do some things slightly differently for desktop vs. mobile before. For the most part, it's not too big/bad of an issue.. I do know people that don't like certain sites/apps on desktop as this practice has changed though (namely, skype and discord) as a friend liked to use about 1/4 the screen for chat, but the ux now changes to phone ux when too small.
- simion314 6y agoBrowsers never report the real PPI, probably anti-fingerprint feature.