DEV Community

Discussion on: The CSS :not() Selector

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

My favorite misuse of not is:

*:not(*)

/* and */

ul:not(:not(li))

🤦‍♂️

Just a quick note, this is not a tag, this is a pseudo-class. Tags are often misspoken in CSS and html I'm not sure why, anyway great article.