Tailwind CSS with Javascript
Hey Guys how can I use Tailwind css in js
like :
TeastRef.current.style.color = text-white
Or something similar ❓6 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Will this replace all other clases or add a new one 🤔
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
To I should try something like :
testRef.current.classList.add = 'text-white'
Am I correct ❓Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ok I got it , Thanks for help buddy , I didn't expected that I someone will reply so soon 🙏🙏👍
Let me know if I can help you in any case 🙏😀