Negation Pseudo-class Hack
Internet Explorer 8 and below do not support the CSS3 :not negation pseudo-class. Internet Explorer 9 added support for CSS3 pseudo-classes including the negation pseudo-class.
The negation pseudo-class accepts any simple selector: A type selector, universal selector, attribute selector, class selector, ID selector, or pseudo-class. (excluding pseudo-elements and the negation pseudo-class itself). It then applies the following properties to all elements which do not match this argument. Note that the ie8andbelow selector has no meaning, it is simply a string that will never match an actual selector. The string dummy would work equally as well.
A variation of this hack uses the :root pseudo-class, which is also unrecognized by Internet Explorer 8 and below.
Read more about this topic: CSS Filter
Famous quotes containing the words negation and/or hack:
“We make a mistake forsaking England and moving out into the periphery of life. After all, Taormina, Ceylon, Africa, Americaas far as we go, they are only the negation of what we ourselves stand for and are: and were rather like Jonahs running away from the place we belong.”
—D.H. (David Herbert)
“Painting consumes labour not disproportionate to its effect; but a fellow will hack half a year at a block of marble to make something in stone that hardly resembles a man. The value of statuary is owing to its difficulty. You would not value the finest head cut upon a carrot.”
—Samuel Johnson (17091784)