News for hackers. Stuff that matters.
Re:Tailwind: style your site without writing any CSS by stefanfisk on Friday November 02, 2018 @11:38AM (#18363778)
after doing a project with tailwind I have completely abandoned the idea of BEM. while it was nice having clean classes, having the styles directly in the html is way easier to reason about.
Re:Tailwind: style your site without writing any CSS by colonelpopcorn on Friday November 02, 2018 @12:06PM (#18364083)
We're back to filling in style attributes on each tag, aren't we?
Re:Tailwind: style your site without writing any CSS by nihonde on Friday November 02, 2018 @12:49PM (#18364554)
Not quite, because you can still define thematic defaults and change those globally to suit any changes to your style book.
Re:Tailwind: style your site without writing any CSS by defenestration on Friday November 02, 2018 @11:58AM (#18363997)
I have the same experience. After working four years with BEM, we switched to atomic css. We only use BEM for big components. It has been a delight.