So what do you really want is a 'with' / grouping construct?
I don't think CSS can do this directly, but that would certainly be helpful.
It would probably not be so difficult to write a basic script that generated a long version from shortened text.
However, perhaps a more consistent syntax would be the following:
@with( #spotlightPlayer .container .commands.over ) { span, ul, ul li { clear:both } }
Although longer in this case, this will allow you to add more styles that apply only within this specific block.
edit: or better yet, go with the css pre-processor suggested in another answer.
Also, regarding Jeremy's answer / comment: If you don't have (or plan to have) a .commands.over element outside of a .container element, you can drop the middle part.
When you limit the space in your selectors, it allows any descendant, rather than requiring a direct parent / child relationship (e.g. > ).
source share