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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: If you were to reinvent the web, how would your HTML/CSS/JS look like?

4 点作者 johnnydoebk超过 8 年前
A recent discussion on HN [1] has showed that surprisingly many people do not like HTML&#x2F;CSS&#x2F;JS. If you were to reinvent the web, how would your version of client-side look like? How would you simplify&#x2F;improve markup language and style sheets? Would you replace them by a single language?<p>[1]: https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12477190

1 comment

rachelandrew超过 8 年前
Creating HTML and CSS with the aid of a time machine would be far easier. The problem with HTML and CSS is that we can&#x27;t break the web, and much of HTML and CSS comes from a time where the kind of things we want to do now couldn&#x27;t really be imagined.<p>Here is a list of mistakes the CSS Working Group would like to change, if we could go back in time to do so <a href="https:&#x2F;&#x2F;wiki.csswg.org&#x2F;ideas&#x2F;mistakes" rel="nofollow">https:&#x2F;&#x2F;wiki.csswg.org&#x2F;ideas&#x2F;mistakes</a><p>I would really encourage anyone who thinks the web platform as it stands is sucky to get involved in trying to make it better. There are lots of interesting things happening - a lot of them behind browser flags.<p>Also, take a look at Houdini - the project to open up the APIs and let you extend CSS itself. There is an explanation of the project here <a href="https:&#x2F;&#x2F;www.smashingmagazine.com&#x2F;2016&#x2F;03&#x2F;houdini-maybe-the-most-exciting-development-in-css-youve-never-heard-of&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.smashingmagazine.com&#x2F;2016&#x2F;03&#x2F;houdini-maybe-the-m...</a>