Skip to content

Instantly share code, notes, and snippets.

@kevin-coyle
Last active August 29, 2015 14:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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