Skip to content

Instantly share code, notes, and snippets.

@palimadra
Forked from necolas/ie-css-hacks.css
Created November 30, 2017 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save palimadra/847e20242f21d64330a85985fb7907dd to your computer and use it in GitHub Desktop.
Save palimadra/847e20242f21d64330a85985fb7907dd to your computer and use it in GitHub Desktop.
IE CSS hacks
/*
* Property prefix hacks
*/
/* IE6 only - any combination of these characters */
_ - £ ¬ ¦
/* IE6/7 only - any combination of these characters */
! $ & * ( ) = % + @ , . / ` [ ] # ~ ? : < > |
/*
* @media hacks
*/
/* IE6/7 only (via Keith Clarke) */
@media screen\9 { }
/* IE6/7/8 (via Keith Clarke) */
@media \0screen\,screen\9 {}
/* IE8 (via Keith Clarke) */
@media \0screen { }
/* IE8/9 (maybe IE10 final) */
@media screen\0 { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment