There are many questions that require choosing items with 2 classes. But I want to ask, what if I want get elements to have only 2 classes provided and excluding any other elements that have any other additional classes ? In other words, elements with additional classes are not needed.
<div class="a">
<div class="a b">
...
</div>
<div class="a b c">
...
</div>
</div>
In my case, I want to get ONLY the second div element, and not the one who has classes a b c.
source
share