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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What the CSS?

5 点作者 degif大约 8 年前

2 条评论

SpacePotatoe大约 8 年前
Aside from this article, why css as a whole is such a unmenagable mess? The whole frontend &quot;separation of concerns&quot; is fucking stupid: data - html, look at any modern website - you see div soup holding no data, css - try making some runtime customizabily eg. change color, layout on ie11, js - contrary to popular opinion, js does what it should do :p<p>Maybe it was holding water when all pages was as complex as hacker news but currently we need something which is little more sensible
jamescostian大约 8 年前
I&#x27;m immensely confused by this: `It&#x27;s totally ok to write class=&quot;75%&quot; if you define it as .\35 0\%{} in CSS.` How is this:<p><pre><code> .\35 0\%{} </code></pre> turned into &quot;75%&quot;? It looks more like it would turn into &quot;50%&quot;. Why is there a space after the 5 (wouldn&#x27;t that mean you&#x27;re finished talking about the class and have moved on to explaining a descendent element?) and what does \3 mean?
评论 #14261272 未加载