+ 1
I want to learn something more than vanilla CSS, what frameworks do you recommend?
Someone recommended me Tailwind CSS. I don't know any framework yet. What is a framework with a good popularity/utility ratio? I ve seen some recommends on google but I want to hear you too.
1 Answer
+ 6
Bootstrap and tailwind are both very popular and good choices, also there are pros and cons to both.
Bootstrap comes with many pre-made classes that have clear purposes for specific components. For example, there are a number of pre-made button and heading styles as well as the structure for entire carousels. If you don't want to have to spend too much time figuring that stuff out, bootstrap is a good choice. However, it can be a bit bloated with all the different options it can provide and can waste a lot of space on websites.
Tailwind, on the other hand, provides thousands of very small classes for making individual inline changes. For example, you can easily set the padding, color, and alignment of text just by using classes like "p-2", "text-primary", and "text-center". In addition, unused tailwind classes can be purged from the final file using additional plugins when building. However, some people dislike tailwind for how much repetition there is in their HTML code and how long some lines become.