This wouldn't make css any more powerful than it can be when treated as a compilation target. You can get all the logic you need in a preprocessor embedded in another language, e.g for js I made this: http://github.com/twfarland/son
New styling possibilities would be more interesting, e.g layer blend modes.