Skip to content

Instantly share code, notes, and snippets.

@micahblu
Last active December 18, 2015 04:39
Show Gist options
  • Save micahblu/5727445 to your computer and use it in GitHub Desktop.
Save micahblu/5727445 to your computer and use it in GitHub Desktop.
A media query template
/* SECTION: MEDIA QUERIES */
/* MQ: Desktop Slim */
@media only screen and (min-width: 768px) and (max-width: 984px) {
}
/* MQ: Tablet Landscape */
@media only screen and (min-width: 600px) and (max-width: 767px) {
}
/* MQ: Mobile Landscape */
@media all and (orientation:landscape) and (max-width: 767px){
}
/* MQ: Mobile Portrait */
@media only screen and (max-width: 479px){
}
/* END SECTION: MEDIA QUERIES */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment