DEV Community

Discussion on: Why I use Tailwind CSS instead of Bootstrap

Collapse
 
mikerogers0 profile image
Mike Rogers ✈️

I switch between Bootstrap & Tailwind quite regularly, so I'm kind of excited to see what happens in the CSS space. I did have some thoughts I wanted to share:

While using Bootstrap it is very unlikely one will use all of it's available framework classes

I think the same could be said for Tailwind. Either way, I think adding PurgeCSS to every project regardless of framework is a massive win :D

To achieve a custom look when using Bootstrap we need to write custom css. Using Tailwind CSS utility classes, it is possible to achieve any look and feel of the button without writing any css.
The biggest strengths of Tailwind is its configurability.

I think the current biggest failure of Bootstrap is that it doesn't push that you can configure it by
overriding the SCSS variables & adjusting the mixins. Plus, you can just include the parts you want instead of all of it.

Collapse
 
andreseduardop profile image
andreseduardop

I agree with you. Bootstrap is highly customizable. But, you have to know about scsss ...
Learning scss is challenging and rewarding in the long run.

Collapse
 
sauelalmonte profile image
You Already Know

Thanks for the feedback and tips, thats why I am here, to network, share tips etc.