-
-
Save bzerangue/2500516 to your computer and use it in GitHub Desktop.
Determine which media query breakpoint you're on
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
body::before | |
content: '< 480px' | |
@media only screen and (min-width: 480px) | |
body::before | |
content: '480px < 600px' | |
@media only screen and (min-width: 600px) | |
body::before | |
content: '600px < 768px' | |
@media only screen and (min-width: 768px) | |
body::before | |
content: '768px < 992px' | |
@media only screen and (min-width: 992px) | |
body::before | |
content: '992px < 1382px' | |
@media only screen and (min-width: 1382px) | |
body::before | |
content: '1382px <' |
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
body::before { | |
content: "< 480px"; } | |
@media only screen and (min-width: 480px) { | |
body::before { | |
content: "480px < 600px"; } } | |
@media only screen and (min-width: 600px) { | |
body::before { | |
content: "600px < 768px"; } } | |
@media only screen and (min-width: 768px) { | |
body::before { | |
content: "768px < 992px"; } } | |
@media only screen and (min-width: 992px) { | |
body::before { | |
content: "992px < 1382px"; } } | |
@media only screen and (min-width: 1382px) { | |
body::before { | |
content: "1382px <"; } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment