Created
May 12, 2012 07:24
-
-
Save ivanmendoza/2664948 to your computer and use it in GitHub Desktop.
Common 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
/* SMARTPHONES */ | |
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) { | |
} | |
/* TABLETS */ | |
@media screen and (min-width: 481px) and (max-width: 1024px) { | |
} | |
/* DESKTOP */ | |
@media screen and (min-width: 1025px) { | |
} | |
/* IPHONE4 (RETINA DISPLAY) */ | |
@media only screen and (-webkit-min-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