Skip to content

Instantly share code, notes, and snippets.

@jaapie
Forked from trey/rwd.css
Last active December 14, 2015 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaapie/5074359 to your computer and use it in GitHub Desktop.
Save jaapie/5074359 to your computer and use it in GitHub Desktop.
My version of twitter-bootstrap-compatible responsive breakpoints. I couldn't get them to work properly, so I fiddled around with them until I came up with the code below.
/* http://twitter.github.com/bootstrap/scaffolding.html#responsive */
/* Landscape phones and down */
@media (max-width: 480px) {
}
/* Landscape phone to portrait tablet */
@media (max-width: 767px) and (min-width: 481px) {
}
/* Portrait tablet to landscape and desktop */
@media (max-width:979px) and (min-width:768px) {
}
/* Large desktop */
@media (min-width: 1200px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment