Created
October 5, 2012 15:27
-
-
Save mhkeller/3840492 to your computer and use it in GitHub Desktop.
Inline media queries
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 QUERIES | |
*/ | |
/* tablet landscape / netbook */ | |
@media screen and (max-width: 1024px) {} | |
/* iPad Retina Display (2048x1536 264ppi) */ | |
@media screen and (max-width: 1536px) and (resolution: 264ppi) {} | |
/* tablet portrait (iPad: 1024x768 132ppi) */ | |
@media screen and (max-width: 768px) {} | |
/* tablet portrait / kindl fire (1024x600 169ppi) */ | |
@media screen and (max-width: 600px) {} | |
/* iPhone Retina Display (960x640 326ppi) */ | |
@media screen and (max-width: 640px) and (resolution: 326dpi) {} | |
/* smartphone landscape (iPhone: 480x320 163ppi) */ | |
@media screen and (max-width: 480px) {} | |
/* smartphone portrait (iPhone: 480x320 163ppi) */ | |
@media screen and (max-width: 320px) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment