DEV Community

Discussion on: I Recreated a Bootstrap Website with Tailwind CSS, And Here Are The Differences

Collapse
 
alevosia profile image
Ålex

Why not go devolve further and build websites with assembly!

Collapse
 
shahednasser profile image
Shahed Nasser

Sounds like a nightmare

Thread Thread
 
xufyan23 profile image
Sufyan Shahid

I recently switch to tailwind the weirdest thing I felt you need to add so many clasess to the built layout :/ especially when you are not used to such kind of layout.

Collapse
 
rangercoder99 profile image
RangerCoder99 • Edited

Its not devolving its just using the tools you got without adding any overhead with frameworks, tailwind is Basicly one class/css rule leading to bigger html files making changes to the style requires you to edit the html file and find it in a long line of classes having on top of that the responsive tailwind short that make you repeat a lot of that classes default use lead to a huge mess and didn't even mention the extra build time, look like we kinda gone back to inline styles...

Thread Thread
 
shahednasser profile image
Shahed Nasser

I understand your opinion about the huge mess because that’s what I thought too when I first used it. To be honest, I wouldn’t use Tailwind for HTML projects, as it is made to be used for reusable components. With React it’s much easier to use Tailwind and making the changes to styles becomes easier as well, as you know where each component is and you can easily make changes by changing the classes, without having to do it with CSS. In this case I think when you try it it’s a good choice, and the build time is pretty much the same with building react anyway.

I guess it depends on finding the best solution based on what kind of project you have.