View full post about browser-specific CSS Hacks here.
Selector hacks
Red if
* html matches in this browserRed if
*:first-child+html matches in this browserRed if
html>body matches in this browserRed if
html>/**/body matches in this browserRed if
html:first-child matches in this browserRed if
html[xmlns*=""] body:last-child matches in this browserRed if
body:nth-of-type(1) matches in this browserRed if
div:nth-of-type(1n) matches in this browserRed if
body:first-of-type matches in this browserRed if
@media screen and (-webkit-min-device-pixel-ratio:0) matches in this browserRed if
html[xmlns*=""]:root matches in this browserRed if
*|html[xmlns*=""] matches in this browserRed if
:root *> matches in this browserRed if
*+html matches in this browserRed if
* > matches in this browserRed if
html:only-child matches in this browserRed if
@media all and (min-width: 0px) matches in this browserRed if
html:lang(en)>body matches in this browserRed if
body:nth-of-type(1) matches in this browserRed if
x:-moz-any-link matches in this browserRed if
x:-moz-any-link, x:default matches in this browserAttribute hacks
Blue if
div { _background: blue} matches in this browserBlue if
div { *background: blue} matches in this browserBlue if
div { .background: blue} matches in this browserBlue if
div { background/**/: blue} matches in this browserBlue if
div { background: blue\9;} matches in this browserBlue if
div { background/*\**/: blue\9;} matches in this browserBlue if
div { background: blue !ie;} matches in this browser