TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Why I love Tailwind CSS (2022)

20 点作者 bdlowery超过 1 年前

5 条评论

RcouF1uZ4gsC超过 1 年前
One of the big reasons I love Tailwind is because of the book Refactoring UI by the author of Tailwind.<p>I am primarily a backend end person and Refactoring UI really helped me when trying to make a nice front end. Tailwind is the encapsulation of those principles in a nice CSS library.
评论 #39112644 未加载
DrDroop超过 1 年前
Tailwind has been a huge influence in how I think about styling my html, the way all elements are reset to the same box behaviour, or the rich color pallet, the naming conventions and so on. However I have taken those learnings and have gone back to writing css in a single style file using more advanced techniques like nested classes and psuedo-private properties but mo more pre&#x2F;post processors. It fits my way of working very well because I think about my css like a functional design language where you can compose basic elements into the desired behaviour. I am mainly interested in creating wapp apps vs web pages so your mileage may vary.
adabyron超过 1 年前
I feel like Tailwind may be one of the most discussed topics on here at this point.. <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?q=tailwindcss" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?q=tailwindcss</a>
Scarbutt超过 1 年前
Those are nice but superficial? the big one is avoiding cascading.
ChrisArchitect超过 1 年前
(2022)
评论 #39109959 未加载