<div class="parent">
<div class="child">
text
<div class="child">
text
<div class="child">text</div>
</div>
</div>
</div>
/* something like this?? */
.parent .child:last-child {
color: red;
}
I would only like the text of the last nested child to have a font-color of red. is this acheivable with CSS only?