by Brajeshwar · 2y ago · 0 comments
Can we do a LangCSS instead but for CSS? That will help someone new to learn better; otherwise, we are building abstraction on top of an abstraction of an abstraction.
Do one for CSS, then have features to convert that to the Tailwind or FooBar Framework of the future. See, Tailwind will also eventually go away, just as Bootstrap, Foundation, or Bourbon did. Developers who depend on the tools that help them write in these frameworks will always play catch-up and never learn the real thing (CSS, in this case).
Tailwind is one of them and much like React it’s become such an abstraction over the underlying environment that you can become completely ensconced in its world without venturing to the APIs underneath.
I’m glad people like it, and we’re getting great designs out of it. I happily use it as well. I just wish I better understood why people fall in love with certain tools.
Love is a strong word. For me it's more pleasant to use on a small scale, as I find it helpful to avoid an external stylesheet that I constantly jump to, and which constantly grows in size. Most projects I've worked on css was an "append only language".
I also find it helpful that it's a bit more concise than standard css properties (especially when dealing with most common props, like size, padding, margins, flex), and I can use them like inline styles but with the added benefit that I can rely on media queries as well.
By the way the AI isn't because Tailwind is hard or obtuse to use. The AI is because you might need help with your design. Tailwind happens to be the output mode.
I LOVE Tailwind but see a clear need still for Bootstrap.
I'd go the other way here.
What did they do such that it's profitable (let's suppose it is for now) to have an AI tool: tailwind goes inline in the html, getting a lot of context to the LLM is much cheaper than having a bunch of random classes floating around
I'm toying a bit with this tool, and I think it's incredibly useful for prototyping.