Created
June 18, 2015 19:42
-
-
Save ericthehacker/8a24c147d93c8024bac5 to your computer and use it in GitHub Desktop.
responsive gray area fix
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
@media (max-width: $bp-large) and (min-width: $bp-medium) { | |
html { | |
position: relative; | |
overflow: hidden; | |
&:before { | |
content: "Resize your browser"; | |
background-color: black; | |
color: white; | |
display: block; | |
text-align: center; | |
position: absolute; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 1000000; | |
font-size: 60px; | |
padding-top: 50vw; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am going to include this in all of my projects from now on!