Can we target an external element based on its descendant elements? This question arises from the need to apply one stylesheet to two different dynamic pages within the same wrapper.
Page 1
<div id="api">
<div class="a"></div>
</div>
Page 2
<div id="api">
<div class="b"></div>
</div>
I would like to select the api element by its internal element class. Is this possible?