How can we target only the first matching descendant element, without affecting others further down the hierarchy? For example:
If the HTML structure is like this:
<div class="wrapper">
<table>
<tbody>
<tr>
<!-- I want to select this specific td -->
<td>
<table>
<tbody>
<tr>
<!-- But not this one -->
<td>...</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
I've tried using the following CSS selector, but it doesn't seem to produce the desired result:
.wrapper > table > tbody > tr > td {
...
}