You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in Tailwind you can only set hover for all devices. It would be nice to be able to have table hover rows but only for devices with a pointer. So that when you use a mobile you would not see those hover styles. Also this support being extended to group-hover would be good so you have complete control over how your css. See examples/ideas below.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently in Tailwind you can only set hover for all devices. It would be nice to be able to have table hover rows but only for devices with a pointer. So that when you use a mobile you would not see those hover styles. Also this support being extended to group-hover would be good so you have complete control over how your css. See examples/ideas below.
<tr class="hover-hover:bg-gray-200">
<tr class="group"><td class="group-hover-hover:bg-red-500"></td></tr>
Beta Was this translation helpful? Give feedback.
All reactions