Html – Why the child select selects all the non direct child?
I have the following code: <ul class="m"> <li>test</li> <li>l1 <ul> <li>l11</li> <li>l12</li> </ul> </li> <li>l2</li> </ul> I want to select only the li which are direct child of ul with the m class. I added the following css rule: ul.m>…