News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by jeppester on Friday December 10, 2021 @03:09AM (#29507595)
We recently started using a combination of tailwind and BEM instead of bootstrap.

It means that we can have our own custom "button button--sm" classes - a single place to change general styling - and on top of that get all flexibility of the tailwind utils for edge cases.

I don't think it's perfect, but it's so far much more flexible than bootstrap, and we don't need to duplicate loads of classes for each similar component.

Re:Tailwind CSS v3.0 by meerita on Friday December 10, 2021 @03:16AM (#29507639)
Why would you need a button class when you can have that button in a component?