1 <div class="mnr-c xpd O9g5cc uUPGi">
2 <div>
3 <div class="mnr-c xpd O9g5cc uUPGi">someting</div>
4 </div>
5 <div>
6 <div class="mnr-c xpd O9g5cc uUPGi">someting</div>
7 </div>
8 </div>
9 <div class="mnr-c xpd O9g5cc uUPGi">someting</div>
10
I have an HTML structure like above. I just want to select child elements using CSS selectors but parents and children have the same classes. If I try to select using jquery for example $$(".mnr-c.xpd.O9g5cc.uUPGi").forEach(el => console.log(el))
that method show 4 result but I just want to see 3 result. Lines 1,9 and 11 are on the same level. My purpose just take lines 3rd and 6th and 9 lines. How I can prevent select a parent element. Is something like this possible just using CSS or jquery?