Skip to content

Instantly share code, notes, and snippets.

@jslegers
Created September 14, 2013 15:34
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jslegers/6562976 to your computer and use it in GitHub Desktop.
Save jslegers/6562976 to your computer and use it in GitHub Desktop.
Hiding mobile specific content on IE6-8
/* Add the desktop-hidden class to any HTML tag that contains mobile specific content */
.desktop-hidden {
*display:none !important; /* IE6-7 */
}
@media \0 screen {
.desktop-hidden {
display:none !important; /* IE8 only */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment