3 ms·
Little nitpick, but :not() is not a new feature by most definitions of new. It has been in browsers for over a decade (closer to 15 in browsers not related to I
by paavohtl 3y ago
Little nitpick, but :not() is not a new feature by most definitions of new. It has been in browsers for over a decade (closer to 15 in browsers not related to IE), which is an eternity in the world of web technology.
- samwillis 3y agoCorrect, 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)