Skip to content

24 ways to impress your friends

Vote up?

Connor Treacy

I do something similar when I’m testing sites, but I put all the css into a file called “debug.css” and pre-qualify each rule with “body.debug”. Then it’s possible to deploy to a live site, and use either a DOM manipulator like the IE Dev Toolbar or Firebug to set the class of the body tag to “debug”.

Nice tip about the negative selectors though!