I have seen some developers write
HTML:
some content
CSS:
It is a matter of style. ;)
It will only be applied to div elements. Some people like narrowing the scope as much as possible to help reduce maintenance in the future, while other people find that having it more open is easier to maintain. It's mostly a matter of personal preference for the most part.