If you're going to use Tailwind why not just use the style attribute and just give up on CSS classes?
Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
11–20 of 38 posts
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#12Earlier quoted context omitted.
Sometimes I wonder, when did HN went so wrong and is full of comments that do not further the discussion but purely result into flamewar and ridiculous homilies.
I've only been here since 2015 so I'm not bringing much more than an early middle-aged viewpoint, in HN years. But I noticed a big uptick of this starting to happen when cryptocurrency people began proselytizing aggressively around 2016, 2017, so much so that I actually made an account to push back on it in some small way (my handle was originally blockchainoffools, but the hn handle limits knocked my block off) havi…
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#13Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#14And its pretty easy to find SASS/SCSS versions of it.
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#15If you find yourself at a point in your life where you're selecting between Tailwind and Bootstrap, you need to stop and think hard when did things go so wrong.
I think they meant "For bootstrap.."?
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#16If you find yourself at a point in your life where you're selecting between Tailwind and Bootstrap, you need to stop and think hard when did things go so wrong.
Under Reason 2: "For Tailwind you will often end up writing something like following" - I think they meant "For bootstrap.."?
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#17If you find yourself at a point in your life where you're selecting between Tailwind and Bootstrap, you need to stop and think hard when did things go so wrong.
Sometimes I wonder, when did HN went so wrong and is full of comments that do not further the discussion but purely result into flamewar and ridiculous homilies.
But asking me to take Tailwind seriously as a CSS framework is like asking me to take Flat Earth Society seriously in a science forum. Everything has a threshold where you cross from the plausible to the absurd. To me there's a non-zero chance Tailwind is (or at least started as) a parody of bad software design.
We just had a submission the other day that "the JavaScript ecosystem has a talent problem". It's a real problem.
CSS's very goal is to separate styles into reusable, readable rules, and here comes Tailwind, inlining them into an endless combination of increasingly obscure and indecipherable abbreviations. Are you not entertained? It seems deliberate.
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#18People who are dissing on TailwindCSS come across as more emotional than sensible. Tailwind is a far better fit for any large application that needs to be unique in its design which is basically any major website today. An e-commerce site today does not need 10 different types of buttons but it rather needs 5 buttons and one button that completely stands out.
Tailwind has gotten the complexity out of writing CSS to do all the common things yourself but it has not created and opinionated design philosophy either. It is not meant for your weekend project, but I do think nearly every large site will eventually move to a more Tailwind like framework.
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#19Earlier quoted context omitted.
just use plain css. easiest solution ever.
That requires me to remember all the little corner cases.
What it has is an excess of features, that may be hard to recall. But large language models are surprisingly good at bridging this gap when you need a hand in writing a snippet for a given layout.
I suspect people waste more time learning Tailwind than they would write plain CSS. And by "plain CSS" I do not exclude tools like SCSS/SASS/LESS, whose utility is confirmed by the fact CSS itself is adopting some of their features and syntax (variables, nesting).
Imagine CSS adopting some of Tailwind's syntax, though... Wow. Sorry for the disturbing mental image.
Re: Ways in which Tailwind CSS is a better choice than Twitter Bootstrap
#20If you're going to use Tailwind why not just use the style attribute and just give up on CSS classes?