I vaguely remember joking a while ago about CSS becoming Turing complete. Well...
https://thenewstack.io/css-finally-gets-inline-conditional-logic-with-new-if-function/