Internet Explorer – Version specific css rules

Amazing article published here originally: http://keithclark.co.uk/articles/moving-ie-specific-css-into-media-blocks/media-tests/

Exclusively targeting IE browsers

Style rules defined in the following blocks will only be applied in IE, other browsers will ignore them.

Rule IE 6 IE 7 IE 8 IE 9 IE 10
@media screen\0 {…} No No Yes Yes Yes
@media screen\9 {…} Yes Yes No No No
@media \0screen {…} No No Yes No No
@media \0screen\,screen\9 {…} Yes Yes Yes No No
@media screen and (min-width:0\0) {…} No No No Yes Yes

Revisions

Tags: ,

No comments yet.

Leave a Reply