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.
The only thing missing is the ergonomics of a real programming language.