Home › Forums › CSS › Guesses about :not › Re: Guesses about :not
April 19, 2013 at 7:06 am
#132416
SgtLegend
Member
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.
http://codepen.io/ChrisUpjohn/pen/c46034882595a266ba90b60bba1bac76