3 ms·
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 sing
by jeppester 5y ago
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.
- meerita 5y agoWhy would you need a button class when you can have that button in a component?