Last active
October 8, 2018 09:02
-
-
Save moxdev/19b8a9e6cb4dfc5cab655839c11bf0e8 to your computer and use it in GitHub Desktop.
General media query breakpoints in em.
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
/* 480px breakpoint */ | |
@media only screen and (min-width: 30em) { | |
} | |
/* 600px breakpoint */ | |
@media only screen and (min-width: 38em) { | |
} | |
/* 768px breakpoint */ | |
@media only screen and (min-width: 48em) { | |
} | |
/* 992px breakpoint */ | |
@media only screen and (min-width: 62em) { | |
} | |
/* 1382px breakpoint */ | |
@media only screen and (min-width: 86em) { | |
} | |
/* high pixel ratio */ | |
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment