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
Hey all, I am new to Tailwind but I get my head around how it works as its pretty much straightforward, but today I got stuck on a simple issue.
Initially what I'm trying to achieve is to create a tooltip and it works if I use the TW classes in HTML, but I want to clean my code and create classes using @apply.
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.
-
Hey all, I am new to Tailwind but I get my head around how it works as its pretty much straightforward, but today I got stuck on a simple issue.
Initially what I'm trying to achieve is to create a tooltip and it works if I use the TW classes in HTML, but I want to clean my code and create classes using @apply.
Working HTML
What I like to have the Some text or item to be just one class .tooltip-box and the Tooltip text tooltip popup to be .top-tooltip
Please tell me what I'm doing wrong
Beta Was this translation helpful? Give feedback.
All reactions