📰 2026-03-29 11:01 更新
🔸 CSS is DOOMed / CSS已注定失败
🔗 CSS is DOOMed
🔥 210 points
原文:
No, CSS is awesome. CSS is better than ever and it is only getting better. And that is why I built DOOM in CSS. Every wall, floor, barrel, and imp is a <div>, positioned in 3D space using CSS transforms. The game logic runs in JavaScript, but the rendering is entirely CSS. You can play it right now. Why? Because I wanted to find the limits of what a browser can do. See how powerful modern CSS is. And because it’s DOOM. In CSS. Do you really need more of a reason? So, modern CSS is aweso…
译文:
不, CSS很棒。CSS比以往任何时候都更好,而且它只会变得更好。这就是为什么我在CSS中构建了DOOM。每个墙壁、地板、桶和imp都是一个< div > ,使用CSS变换定位在3D空间中。游戏逻辑在JavaScript中运行,但渲染完全是CSS。你现在就可以玩了。为什么?因为我想找出浏览器的极限。了解现代CSS的强大功能。因为这是注定要失败的。在CSS中。你真的 需要更多的理由?所以,现代CSS真是太棒了……
自动更新 · 正文抓取 · 双语翻译