|
E + F Matches any F element immediately preceded by a sibling element E.
So the CSS you are asking about is targetting the div immediately following the end of an element that has class="class1" or class="class2"
for example the div in the following code:
<p class="class1">text</p><div>something</div>
|