I'm not saying that CSS is perfect, or even great, because it isn't. But it is not intended to be a programming language, and you are basically complaining that it doesn't have the features of a programming language.
"The urge to destroy is also a creative urge." -- Bakunin [ed. note - I would say: The urge to destroy may sometimes be a creative urge.]