News for hackers. Stuff that matters.
Re:Play with TailwindCSS in the Browser by enobrev on Friday June 10, 2022 @08:31AM (#31693129)
I wasn't a big fan of the idea before trying it and then I tried it for a small project. I get the appeal, but as the project grew in complexity, I found I disliked managing tailwind

But the experience while writing the code is pretty excellent. It made me realize that what I really want (personally) is to have my css inlined in my editor when writing / editing it, and otherwise remain out of the way in my css file.

Re:Play with TailwindCSS in the Browser by aidos on Friday June 10, 2022 @08:51AM (#31693356)
Oooo. That’s an interesting idea. Being able to toggle className to be `className=“…”` in vim.

Would be interesting to see what an experience of being able to toggle between classless and class-only jsx looked like.

Re:Play with TailwindCSS in the Browser by vlod on Friday June 10, 2022 @01:32PM (#31697092)
That would make it more appealing for me. Just saw this proposal:

"Add the option to hide class attribute in vscode plugin" https://github.com/tailwindlabs/tailwindcss/discussions/7922