News for hackers. Stuff that matters.
Re:Conditional CSS with:has and:nth-last-child by samwillis on Wednesday May 17, 2023 @05:32PM (#35981514)
Correct, although :not() had a massive upgrade only a couple of years ago with complex selectors support.

Prior to the change you could only pass a "simple selector" that only matched against the one node, such as :not(.something).

However you can now do :not(ul > li p.something)

There are no comments on this comment yet.