Created
July 18, 2014 04:37
-
-
Save SleepWalker/a71c350b64ce5243d6b4 to your computer and use it in GitHub Desktop.
Предупреждение о том, что необходимо перевернуть девайс на чистом CSS
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
@media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { | |
html { | |
background: #333; | |
} | |
body:before { | |
content: "Turn your phone to portrait"; | |
color: #888; | |
font-size: 11px; | |
text-transform: uppercase; | |
top: 50%; | |
margin: -5px 0 0 -100px; | |
position: absolute; | |
} | |
body * { | |
display: none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment