Comment by jsjsjxxnnd

20 hours ago

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...

The only thing missing is the ergonomics of a real programming language.

  • I like the declarative nature of it. It makes it so easy to debug anything, with "simple" introspection tools. I feel that many horrors will be created when we introduce control flow to CSS.

    And this project kinda show how far you can go, still, if you really want it :D