-
I could really use a
:has-nth-children(6)
CSS selector right now, so I went looking for a potential proposal… But wait! :has(> :nth-child(6):last-child)` will do the trick. Not as palatable but definitely works. Easier to wait for :has to be implemented than a new selector!