|
|
|
|
|
by ehnto
1380 days ago
|
|
I would say that'd be a Tailwind anti-pattern, since Tailwind exceeds by trying to do away with cascading, and BEM is an attempt to componentize CSS but retain some cascading. Also, if you handed me a project with that approach, I would run for the hills! How would you decide when to use BEM styling and when to use the tailwind classes? It'd be a nightmare. |
|
The resulting css you end up with is usually super light only with special things, edge cases, hover groups and stuff TW just doesn't handle.