There's similar in other languages.
I've seen at least two others, one was Java, the other was something else.
Does seem to be a good idea, but currently the only places I work with CSS complicated enough to benefit is at work, and I suspect I'd get resistance to this sort of thing, since nobody else even knows CSS properly, nevermind a random non-standardised extension. :(