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.

What the CSS?

5 pointsby degifabout 8 years ago

2 comments

SpacePotatoeabout 8 years ago
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
jamescostianabout 8 years ago
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 未加载