The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Guesses about :not Re: Guesses about :not


The` :not` selector works as intended if you assign a context to it, if no context is defined it will attempt to select every element in the DOM. See the following example which shows setting `body` as the context ensures the pseudo selector works as intended.