News for hackers. Stuff that matters.
Re:Why I don't like Tailwind CSS by mattmanser on Thursday March 11, 2021 @05:57PM (#26430087)
The irony is, you're the niche case, and from now on, will always be.

Almost everything on the web is basically an application, or runs on an app. Anything based on wordpress is an app. On Wix, or Rails, or whatever. They're all apps.

Almost no-one has static websites.

So your use case, which CSS might actually kinda fit, is the niche that CSS should actually ignore, or at least treat as a 2nd class citizen.

Re:Why I don't like Tailwind CSS by captainmuon on Friday March 12, 2021 @06:02AM (#26434416)
I'd say the vast majority of words online are in documents, not in apps.

Wikipedia is documents, news sites are documents, wordpress blogs (that are not shops etc) are documents. Even in this forum, when threads are locked after some time, they become documents. Even if they are dynamic behind the scenes.

Naturally, if you are writing something like Twitter, Gmail, any SAAS app, ... you need a different approach than when building websites for documentation, essays, news, and so on.

Re:Why I don't like Tailwind CSS by mattmanser on Saturday March 13, 2021 @04:20PM (#26450103)
Wikipedia is a web application. Your example is about an app.

Anything that uses dynamic pages to generate content, like wikipedia, is a web application and benefits from more structured, class based, CSS.

99% of the web is run on web applications. Whether it be Wordpress, Wikipedia, a news site CMS, whatever, they're all applications.

Re:Why I don't like Tailwind CSS by eyelidlessness on Thursday March 11, 2021 @10:12PM (#26431861)
It's all CSS at the browser. Anything a utility CSS library will provide will eventually have to use the same APIs. It'll either be more low level to support more abstractions, or it'll be equally low level to what normal plebes would write.
Re:Why I don't like Tailwind CSS by mattmanser on Saturday March 13, 2021 @07:07PM (#26451434)
You're using CSS instead of styling. That's what we're talking about. CSS is a particular styling method (particualrly poor according to a lot of our sensibilities). I've used a fair few, and CSS has to be the most frustrating of them all, even though some had higher learning curves.
Re:Why I don't like Tailwind CSS by eyelidlessness on Sunday March 14, 2021 @01:48AM (#26453325)
No, I’m using CSS because that’s the actual styling API used in the browser. I’m not sure what else you’ve used, but if you’re styling in a browser, you’re using CSS. Even if it’s something that abstracts it or ultimately compiles to it.

Edit: just as whatever tooling you use to build content or dynamic runtime interactions in the browser are ultimately going to be HTML and JavaScript respectively... even if those aren’t the languages you wrote.