[CSS 3] CSS Pseudo Selector
We only want to access <li>One</li>
B: '+' sinbling selector, if we don't have second ul
and replaced with a li
, then it is targeting this li
; which is the sinbling of first ul
Works
It targets all the first-of-type of ul:first-of-type, which means it goes down to the deep of the tree, might targeting something you don't want to.