> indicates that the direct children of somethingelse are in something . Otherwise, the descendants will be found at all levels.
So using the following example:
<div class="something"> <div class="somethingelse"> <div class="somethingelse"> </div> </div> </div>
For example > only the external somethingelse div takes effect. For an example without > both divs will have the applicable style.
< may mean the parent selector (i.e. apply the style to the direct parent of the corresponding class). I don't know about this yet, but here's an interesting post: csstricks here .
source share