Is there a way to change the class upon hovering an object using tailwind classes?
<span className='group inline-block relative'>
Hello
<span className='hidden absolute -top-16 left-16 group-hover:inline-block'>-</span>
</span>
I am looking to remove the hidden
class when the object is hovered over. This means that initially (when the page is loaded), the object will be hidden, but once it is hovered over, it will become visible.
Before:
https://i.sstatic.net/xqwRv.png
Desired Result: