3 ms·
On mobiles. On laptops, they are the minority but somewhat common i think. I'd guess trackpads are still way more common. On desktops it is mouse and keyboard
by badsectoracula 5y ago
On mobiles.
On laptops, they are the minority but somewhat common i think. I'd guess trackpads are still way more common.
On desktops it is mouse and keyboard.
And CSS still seems to be unable to differentiate between these three - or even just between mobile/tablet and laptop/desktop (though there are cases where a 27" desktop monitor is not the same as a 14" laptop monitor), which is one of the reasons things are so awful. So people use hacks like minimum width or whatever as shown here:
https://www.w3schools.com/css/css_rwd_mediaqueries.asp https://www.w3schools.com/css/css_rwd_mediaqueries.asp
Now it might be w3schools being bad and there is a better way but every single site i see out there that uses responsive design (what a name) does that. Assuming they bother with desktop at all.
Not to mention that they assume that all people use browsers in a maximized state. I have a huge monitor so i always keep browsers at around 1000px or less, which often triggers the "oh you are on a mobile, lemme bloat up everything for you" style.
- grishka 5y agoIn my personal project, I simply have two sets of templates and which one I use depends on the user agent. It isn't possible to adapt the same exact markup to two input paradigms this different without compromise.