Created
January 21, 2014 19:14
-
-
Save pixelchar/8546333 to your computer and use it in GitHub Desktop.
Debugging stylesheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Empty Elements */ | |
.debug div:empty, .debug span:empty,.debug li:empty,.debug p:empty,.debug td:empty,.debug th:empty { | |
padding: 20px; | |
border: 5px dotted yellow !important; | |
} | |
/* Empty Attributes */ | |
.debug *[alt=""], .debug *[title=""], .debug *[class=""], .debug *[id=""], .debug a[href=""] { | |
border: 5px solid yellow !important; | |
} | |
/* Deprecated Elements */ | |
.debug applet, .debug basefont, .debug center, .debug dir, .debug font, .debug isindex, .debug menu, .debug s, .debug strike, .debug u { | |
border: 5px dotted red !important; | |
} | |
/* Deprecated Attributes */ | |
.debug *[background], .debug *[bgcolor], .debug *[clear], .debug *[color], .debug *[compact], .debug *[noshade], .debug *[nowrap], .debug *[size], .debug *[start],.debug *[bottommargin], .debug *[leftmargin], .debug *[rightmargin], .debug *[topmargin], .debug *[marginheight], .debug *[marginwidth], .debug *[alink], .debug *[link], .debug *[text], .debug *[vlink],.debug *[align], .debug *[valign],.debug *[hspace], .debug *[vspace],.debug *[height], .debug *[width],.debug ul[type], .debug ol[type], .debug li[type] { | |
border: 5px solid red !important; | |
} | |
/* Proposed Deprecated Elements */ | |
.debug input[type="button"], .debug big, .debug tt { | |
border: 5px dotted #33FF00 !important; | |
} | |
/* Proposed Deprecated Attributes */ | |
.debug *[border], .debug table[cellpadding], .debug table[cellspacing] { | |
border: 5px solid #33FF00 !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment