3 ms·
Ohhh, I had no idea! Thank you. https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer https://developer.mozilla.org/en-US/docs/Web/CSS/@media/poin...
by johnnyworker 3y ago
Ohhh, I had no idea! Thank you.
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer https://developer.mozilla.org/en-US/docs/Web/CSS/@media/poin...
coarse - The primary input mechanism includes a pointing device of limited accuracy
such as a finger on a touchscreen.
fine - The primary input mechanism includes an accurate pointing device, such as a mouse.
This solves everything! What I really want is having more padding on mobile, that's it. I prefer things to be compact otherwise, and it seemed hard to square that circle... with the pointer media query it's so trivial.
Gotta love how every time you don't watch CSS like a hawk, it spawns 500 new features. Thanks again.
- withinboredom 3y agoI'm actually surprised this isn't a selector in tailwind css.
- pests 3y agoThat is one of the issues trying to re-implement every css property:value pair with a class name inherent in Tailwind.