News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by nightpool on Thursday December 09, 2021 @03:50PM (#29502754)
Then why not just type that, instead of having to learn a completely separate set of concepts to map to the underlying CSS properties & values? I program with inline CSS styles all the time when I'm prototyping something or building a page quickly.
Re:Tailwind CSS v3.0 by aidos on Thursday December 09, 2021 @03:56PM (#29502818)
Because inline styles aren’t flexible enough to be used for everything, so you need to go out to external css eventually.

With tailwind you can do “block md:flex hover:font-bold” and you’ve covered pseudo class cases and media queries very succinctly.

Re:Tailwind CSS v3.0 by dcre on Thursday December 09, 2021 @04:22PM (#29503115)
It's much more concise than inline styles, variants and configuration give you a lot more power, and it's not a separate set of concepts. It's a subset of the same set of concepts.
Re:Tailwind CSS v3.0 by psygn on Thursday December 09, 2021 @03:58PM (#29502847)
Re:Tailwind CSS v3.0 by mixmastamyk on Thursday December 09, 2021 @04:49PM (#29503414)
It's like radio presets instead of the full dial. Dial is still available, but a great majority of the time you use the presets.