Skip to content

Instantly share code, notes, and snippets.

@KnightAlex
Created March 3, 2013 15:55
Show Gist options
  • Save KnightAlex/5076630 to your computer and use it in GitHub Desktop.
Save KnightAlex/5076630 to your computer and use it in GitHub Desktop.
Basic media query breakpoints
/* ------------ RESPONSIVE MEDIA QUERIES ------- */
@media (max-width: 1024px) {
}
/* iPad portrait */
@media (max-width: 768px) {
}
/* eg: Android Samsung galaxy landscape */
@media (max-width: 685px) {
}
/* iphone 5 landscape */
@media (max-width: 568px) {
}
/* iPhone 3+4 landscape */
@media (max-width: 480px){
}
/* eg: Android Samsung galaxy portrait */
@media (max-width: 380px) {
}
/* iPhone 3+4 portrait */
@media (max-width: 320px) {
}
/* small android portrait */
@media (max-width: 240px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment