Created
February 21, 2013 17:59
-
-
Save jlittlejohn/5006716 to your computer and use it in GitHub Desktop.
SCSS: Media-Queries Template
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
/********************************************* | |
MEDIA QUERIES | |
*********************************************/ | |
/* MOBILE PORTRAIT */ | |
@media only screen and (min-width: 320px) { | |
body { | |
} | |
} | |
/* MOBILE LANDSCAPE */ | |
@media only screen and (min-width: 480px) { | |
body { | |
} | |
} | |
/* 7" TABLETS */ | |
// Kindle Fire: 600px x 1024px; | |
// Nexus 7: 800px x 1280px; | |
/* 10" TABLET PORTRAIT */ | |
@media only screen and (min-width: 768px), screen and (min-width: 768px) and (orientation: portrait) { | |
body { | |
} | |
} | |
/* 10" TABLET LANDSCAPE */ | |
@media only screen and (min-width: 980px), screen and (min-width: 980px) and (orientation: portrait) { | |
body { | |
} | |
} | |
/* DESKTOP */ | |
@media only screen and (min-width: 1280px) { | |
body { | |
} | |
} | |
/* WIDESCREEN */ | |
@media only screen and (min-width: 1400px) { | |
body { | |
} | |
} | |
/* RETINA DISPLAY */ | |
@media only screen and (-webkit-min-device-pixel-ratio: 2) { | |
body { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment