TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why everybody speaks only about Tailwind, what happened to Bootstrap?

4 pointsby rrmdpover 1 year ago
I tried Tailwind, made a simple project with it and I liked.<p>Recently had the chance to work on a Bootstrap 5 project and I think is really good too.<p>I see the every single dev speak about Tailwind like if it&#x27;s the only good framework and Bootstrap is not good any longer.<p>Why this?

5 comments

Leftiumover 1 year ago
I personally prefer Bootstrap to Tailwind, but my favorite is <a href="https:&#x2F;&#x2F;picocss.com&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;picocss.com&#x2F;</a><p>Usually, I just want decent-looking default CSS styles. The benefits of a CSS framework have diminishing returns when using frameworks with styles scoped to components (like SvelteKit&#x2F;Vue&#x2F;React).<p>The fact Tailwind removes all styles so you can&#x27;t even tell a button is a button unless you add classes is annoying. If you know the class names, sometimes it&#x27;s a little more convenient to add Tailwind classes, but for the most part it just clutters the HTML. And it makes it difficult to update entire &quot;classes&quot; of elements: you have to update each element one at a time.
评论 #37623623 未加载
ZeroGravitasover 1 year ago
People don&#x27;t seem to understand how to customize Bootstrap, so they re-invent the wheel with things like Tailwind.
PaulHouleover 1 year ago
I use bootstrap for my own projects because I use it to work and don&#x27;t have to be distracted with yet another framework.<p>The part of me that likes extreme DSLs gets a bit of a thrill out of Tailwind but Bootstrap is closer to the original intention of CSS but I&#x27;d still like to see something that uses modern css features (like calc() and nesting) to build a design system for a site where the classes are mostly semantic.<p>Trouble is most designers would rather draw one pretty picture at a time than do the systems thinking it takes to make a design system. There&#x27;s always been a huge mismatch between what CSS offers and what designers want although we&#x27;ve gotten a huge toolbox (40+ spec documents) that let them do what they need, sometimes with some grace.
eureka-beliefover 1 year ago
Bootstrap and tailwind take two different approaches. I like tailwind because it allows me to keep the styling with the html. Previously the philosophy was to have semantic html and apply style as a separate layer. But in practice I find that style and html end up going hand in hand. And I don’t like needing to constantly switch between the html and css files.<p>Heres one breakdown of the various approaches to styling that you might find useful: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;CQuTF-bkOgc?si=aO7YLMo2U-Y2EEUR" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;CQuTF-bkOgc?si=aO7YLMo2U-Y2EEUR</a>
ChrisArchitectover 1 year ago
Ask HN:
评论 #37615436 未加载