[ACCEPTED]-CSS selector to get deepest element of specific class in the HTML tree-css-selectors
You can use the jQuery selector
However, for 6 performance reasons, this is not possible in CSS.
Your selector depends 5 on the children (or lack thereof) of the elements 4 that you target.
CSS is designed so that 3 an element's selectors can always be resolved 2 before the element's children exist; this 1 allows CSS to be applied as a document loads.
More Related questions