Nesting CSS selectors is not possible with standard CSS, but there are other tools like SASS, LESS, and XCSS which allow you to write rules in the way you're describing.
These tools generally "compile" into real CSS which handles converting the nested selector syntax into real CSS rules.