🔍 Search query: "mobile friendly without javascript"

🖥️ Results: "Check out this JS library"

I see.

@polychrome CSS @media queries mostly, wouldn't mind taking a look if you have a concrete casus?

@f0x had some trouble deciphering how to recognize when a device is mobile using @media queries because it only gives me resolutions and orientation, both of which not really distinct from a PC display :think_unamused:

@polychrome @f0x yeah, if you really need to know specifically mobile vs desktop, media queries won’t give you that, only a heuristic

that said, what specifically makes you need to know device type and not just viewport/resolution? (not an “i think you don’t really need that and i’m going to be a prick about it” question, i’m genuinely curious!)

@alexis @f0x mouse presence, the way the user holds (or doesn't hold) the hardware, it affects usability expectations.

Also the need to make a guess when a system could provide accurate answers annoys me out of principle.

@polychrome @alexis I guess (a combination off) @media rules, such as orientation, pointer, hover could give more info.
I wonder why there's not just an @media phone|tablet|desktop tho

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.