In CSS, if it is
#main #display img { height: 80px }
that means all images within an element with id display
that is within another element with id main
. But does it make sense or is it legal since id seems to be just global names.
It is because SASS actually allows nesting and some code may nest it like
#main
width: 700px
#display
img
height: 80px
which is "id within id".
Update: this is because, supposedly, there should never be
#main #display img { height: 80px }
#sidebar #display img { height: 80px }
that is, there should never be two elements with an id display
. So normally, instead of writing
#main #display img { height: 80px }
you may as well write
#display img { height: 80px }