DEV Community

Discussion on: 21 Bad Front-End Habits to Drop in 2021

Collapse
 
macbruker profile image
Martin B

I don't believe that comparison is fair. The commercial service called Tailwind UI would be a closer match. Utility classes is a different way of working with CSS, and it very much requires CSS knowledge to use it in any meaningful way.

Several other frameworks are built on the same utility principles, but they are lacking some efforts to gain the success Tailwind CSS has achieved. I think that comes down to a mix of things. Marketing, good documentation, choosing the "right technology" to build the framework, research and careful decision making, and a lot of hard work.

That exact framework is promoting a utility-first approach, but I think a lot of people read it as utility-only. Mixing is ok. If someone choose to use that framework, they should think critically about the default configuration, and take steps to change what is useful for their project

Working with a utility classes framework isn't for everyone, and that is very ok :)

Collapse
 
hexanal profile image
Fred

You're right. I haven't used it yet, and I'm warming up to the idea of going "utility-first" so I should do my homework before complaining about it!

Like I said, if it makes website development easier (to get into, to maintain projects, etc.), it's a win in my book.