Kathirvel K

Archive for February 2014

We can write CSS hacks using media queries also,

/* IE6/7 uses media, */
@media, {
.dude { color: green; }
.gal { color: red; }
}

/* IE8 uses */
@media all {
.dude { color: brown; }
.gal { color: orange; }
}

/* IE9 uses \9 */
@media all and (monochrome:0) {
.dude { color: yellow\9; }
.gal { color: blue\9; }
}

Advertisements
Tags: ,

February 2014
S M T W T F S
« Jan    
 1
2345678
9101112131415
16171819202122
232425262728  

Blog Stats

  • 53,506 hits

Top Clicks

  • None
Advertisements