Skip to content

Instantly share code, notes, and snippets.

@justinpeterman
Created January 2, 2012 22:40
Show Gist options
  • Save justinpeterman/1552447 to your computer and use it in GitHub Desktop.
Save justinpeterman/1552447 to your computer and use it in GitHub Desktop.
ios media queries
@media screen and (max-width: 1024px) /*iPad Landscpae*/ {
// CSS styles
}
@media screen and (max-width: 770px) /*iPad Portrait */ {
// CSS styles
}
@media screen and (max-width: 480px) /*iPhone Landscape */ {
// CSS styles
}
@media screen and (max-width: 320px) /*iPhone Portrait */ {
// CSS styles
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment