:nth-last-child(1 of class) not working in Safari due to “Matches elements with no parent”?
I have been breaking my brain over what “Matches elements with no parent” means, and it seems there is absolutely no documentation (https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child#browser_compatibility) on what it is and why it magically works for every browser except safari.
:nth-last-child(1 of class) not working in Safari due to “Matches elements with no parent”?
I have been breaking my brain over what “Matches elements with no parent” means, and it seems there is absolutely no documentation (https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child#browser_compatibility) on what it is and why it magically works for every browser except safari.