Last active
August 29, 2015 14:25
-
-
Save kevin-coyle/6839e59d4c8efce5af06 to your computer and use it in GitHub Desktop.
Respond JS IE8 flash of unstyled content hack.
This file contains hidden or 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.