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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Perils of Functional CSS

3 点作者 _ttg超过 4 年前

1 comment

ktpsns超过 4 年前
I can&#x27;t help myself, but for me this idea of &quot;functional CSS&quot; stands again the idea of cascading stylesheets. I cannot follow the criticism on semantic markup, because there&#x27;s nothing bad about semantic, precise markup, except you are a designer and only care about visuals.<p>A core idea of CSS is nesting of expressions, and I&#x27;ve seen many usages of SASS&#x2F;LESS which render to expressions such as &quot;.body.active h2#primary&quot; which just show the author did not understand how to write efficient and precise CSS queries.