Fabrice's Inversion

Test of Filter

This text will be green if the rule has been applied.

Code Syntax


/*/*//*/ 
#testElement {
   color: #00cc00; /* */
   }
/* */
         

Browser Support / Behaviour

Applied By

Not Applied By

Unknown

Special Notes

Standards-compliant browsers see the contents of this hack as a comment and will not apply those declarations (so the text in the example block should be red in compliant browsers).

This hack can also be used to hide single or multiple declarations within one rule (as opposed to whole rules as shown in the example).

More information