←
→
CSS selector matching
...
body
div
div
id="sidebar"
div
class="item"
div
class="item"
div
class="item"
p
p
p
div
.item
#sidebar
div#sidebar
div p
ul p
ul > p
body > div p
#sidebar p
:hover
.item :hover