Replies: 2 comments 1 reply
-
A utility-first approach might be registering new screens: module.exports = {
// ...
screens: {
touch: {'raw': 'hover: none'},
'can-hover': {'raw': 'hover: hover'}
}
} So you could write |
Beta Was this translation helpful? Give feedback.
1 reply
-
I solved this problem by using https://stackoverflow.com/a/67458852/16381640 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If we use javascript to detect that a device is a mobile device and set a CSS class on the
<html>
tag, could tailwind somehow make it possible to disable itshover
styles for that device? There's several options in https://stackoverflow.com/questions/23885255/how-to-remove-ignore-hover-css-style-on-touch-devices but I would like to see if anyone has ideas of whether tailwind can help with such a use case.Beta Was this translation helpful? Give feedback.
All reactions