Skip to content

Instantly share code, notes, and snippets.

@kevin-coyle
Last active August 29, 2015 14:25
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 kevin-coyle/6839e59d4c8efce5af06 to your computer and use it in GitHub Desktop.
Save kevin-coyle/6839e59d4c8efce5af06 to your computer and use it in GitHub Desktop.
Respond JS IE8 flash of unstyled content hack.
.container {
display: none;
}
@media (min-width: 1px) {
.container {
display: block;
}
}
@kevin-coyle
Copy link
Author

This ugly hack is one solution to stop the brief flash of unstyled content that you may get when using mobile first and respondjs.

@kevin-coyle
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment