Html – Is there a CSS only way to target the last nested element by className?
.parent .child:last-child { color: red; } <div class="parent"> <div class="child"> text <div class="child"> text <div class="child">text</div> </div> </div> </div> I would only like the text of the last nested child to have a font-color of red. is this acheivable with…