Since CSS tries to stay purely declarative, it would be cool if for the functions they introduced a purely functional language.
But it is going to end up being JS, of course.
But it is going to end up being JS, of course.
Granted the `@function` and `var(--variable)` syntax is as clunky as ever, but it’s still distinctly not JS in any way.
But I think the vector is towards everything becoming JS anyway.
I'd love to be proven wrong.