Created
September 29, 2015 08:43
-
-
Save danyeah/1fe9f6277eb4902d8cf1 to your computer and use it in GitHub Desktop.
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
/* Add this to your css for debuggin purpose */ | |
body:after { | |
content: "no mq"; | |
position: fixed; | |
bottom: 0; | |
right: 0; | |
z-index: 999; | |
padding: 2px 5px; | |
background-color: rgba(0,0,0,.7); | |
color: white; | |
} | |
@media only screen and (min-width:480px) { | |
body:after { | |
content: "xs: 480px"; | |
} | |
} | |
@media only screen and (min-width:768px) { | |
body:after { | |
content: "sm: 768px"; | |
} | |
} | |
@media only screen and (min-width:1024px) { | |
body:after { | |
content: "md: 1024px"; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment