3 ms·
I've gotten good results from using just the pointer media query, since that is generally the more pressing issue (how easy is it for users to hit buttons): htt
by moron4hire 4y ago
I've gotten good results from using just the pointer media query, since that is generally the more pressing issue (how easy is it for users to hit buttons): https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer https://developer.mozilla.org/en-US/docs/Web/CSS/@media/poin...
- bob1029 4y agoThis is interesting. I may blend this query in with the width query I am currently using. The width query is to trigger a layout collapse, but I can see where the pointer query could be useful for controlling things like button and input sizes dynamically.
- rkeene2 4y agoYeah, this kind of check is useful since I sometimes dock my phone and use it with a keyboard, mouse, and 27 inch display and sites and native apps that expect the mouse cursor to be a very precise finger are annoying to use. Selecting text is particularly annoying.