Live data from Hacker News

CSS is DOOMed

nielsleenheer.com

101–110 of 120 posts

Re: CSS is DOOMed

#101
post #96
post #89

I feel there should be a gov dep where all the "i turned this into DOOM" folks get hired, to build the next spicy interplanetary propulsion systems. They are clearly needing an exotic task to stop twiddling their fingers.

They would just end up making the thing they're building run Doom.

Within a week they would have a rocket prototype where you can plug in a mouse and keyboard and play doom on the exhaust flames by mixing different fuel chemicals.

Re: CSS is DOOMed

#102
post #96

Earlier quoted context omitted.

They would just end up making the thing they're building run Doom.

And then they would find a way to make that embedded Doom run the thing that they are building [1]. Possibly inside a cellular automaton. [1] Can Doom Run It? An Adding Machine in Doom https://blog.otterstack.com/posts/202212-doom-calculator/

At this point, I’m just waiting for someone to implement a CSS-only browser inside this CSS-only Doom, so we can achieve full recursive insanity. The 'Can it run Doom?' meme has officially transcended hardware and entered the realm of pure Turing-complete masochism.

Re: CSS is DOOMed

#105
post #74

Earlier quoted context omitted.

Even better, since everything is well organized, you can add `opacity: 0.7` to `.wall` specifically, and get something that looks almost exactly like how old school wallhacks looked like.

Is that a Doom reference? What’s a wall hack? How did it look?

A wall hack is any technique allowing the player to see opponents through walls. Googling for screenshots or videos should give you a good idea of how it looks.

Re: CSS is DOOMed

#106

While standalone CSS is not yet Turing complete, I worry about the new attack vector categories opened up by moving it towards that state. Already I believe attackers have a choice to spread the attack payload between CSS, HTML and JavaScript to evade current detectors and analysis at the network borders, and evade CSP's since we're well into undecidability territory, like using CSS attribute selectors if the CSP all…

> While standalone CSS is not yet Turing complete

Looks like it is, though? https://news.ycombinator.com/item?id=47558097

Re: CSS is DOOMed

#107

This feels like one of those “because we can” projects that accidentally reveals where the platform is going. CSS started as purely declarative styling, but between things like conditionals, math functions, and now these rendering tricks, it’s slowly creeping into “programmable system” territory. Not because it’s the right tool for it, but because browsers are becoming the real runtime. The interesting question isn’t…

The design of CSS has always been weak IMO. What we needed were general, simple primitives that can describe layout relationships and a compositional layer that includes some common defaults.

Re: CSS is DOOMed

#108

This page could use some "Practical CSS scroll snapping": https://css-tricks.com/practical-css-scroll-snapping/

I was amazed when I first came across CSS scroll snapping. It's great for creating immersive experiences where one part of the page fills the entire screen while native browser scrolling still works.

Personally, I find it to be a little disorienting. I get a bit of motion sickness with scroll snapping and I'm not exactly sure why.

Re: CSS is DOOMed

#109

Its incredible how far concepts like CSS can be pushed. But sometimes I wonder what if CSS would be just JavaScript i.e both concept are merged. Would that be better or worse for webdev? I don't know. But I like to ponder.

Someone wrote an x86 emulator with CSS (it uses JS only for clock to make it more reliable). https://lyra.horse/x86css/ . So, CSS is officially Turing complete (which is a bit scary IMHO).

Re: CSS is DOOMed

#110

In recent years CSS has become closer to a full programming language through experimental features, for example in 2025 they added if statements and some math functions like modulo https://www.simplethread.com/new-and-upcoming-css-features-i...

It's not just closer. Someone wrote an x86 emulator with CSS (it uses JS only for clock to make it more reliable). https://lyra.horse/x86css/ . So, CSS is officially Turing complete (which is a bit scary IMHO).
Post reply on HN