QUICK poll on multiple class names for same element

quick poll guys. recently i have been using multiple classes for same element eg <div class= "parent flex fd" > where flex and flex-direction properties are defined on css. the idea was to reduce the coding by reusing properties like bootstrap. someone said its really bad practice and you have give each properties on css so some other developer wont have to suffer Anyone else does stuff like this? react with ☑️ if this is what you guys do. react with ❌
2 Replies
glutonium
glutonium14mo ago
just use tailwind then 🤷
Jochem
Jochem14mo ago
they're called utility classes, and it's not an uncommon practice. Tailwind is a good example, but takes it to the extreme