Respond JS IE8 flash of unstyled content hack.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.container { | |
display: none; | |
} | |
@media (min-width: 1px) { | |
.container { | |
display: block; | |
} | |
} |
Credit to @peter Agar for this one
http://stackoverflow.com/questions/25039261/detect-when-respond-js-finished-work
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ugly hack is one solution to stop the brief flash of unstyled content that you may get when using mobile first and respondjs.