As far as I know CSS selectors get evaluated from right to left, so body div *
would select every item, than look which has a parent of type div and of those which has a parent of type body. What I am uncertain about is how dynamic pseudo-classes get evaluated in this chain.
If I had a selector like div *:hover
how would the evaluation be?
:hover
=>*
=>div
*
=>:hover
=>div
- Another solution I didn't think about