Skip to content

Instantly share code, notes, and snippets.

@maxxst
Created September 23, 2013 16:30
Show Gist options
  • Save maxxst/6673165 to your computer and use it in GitHub Desktop.
Save maxxst/6673165 to your computer and use it in GitHub Desktop.
My breakpoints I want to use for responsive design using bourbon and neat
// all portrait
$iphone-portrait: em(320)
$samsung-galaxy-portrait: em(380)
$kindle-portrait: em(600)
$ipad-portrait: em(768)
// all landscape
$iphone-landscape: em(480)
$iphone-5-landscape: em(568)
$samsung-galaxy-landscape: em(685)
$ipad-landscape: em(1024)
$kindle-landscape: em(1024)
$desktop-size: em(1200)
$largedesktop-size: em(1600)
//breakpoints
$mobile-portrait: new-breakpoint(min-width $iphone-portrait orientation portrait 2)
$tablet-portrait: new-breakpoint(min-width $kindle-portrait orientation portrait 12)
$mobile-landscape: new-breakpoint(min-width $iphone-landscape orientation landscape 2)
$tablet-landscape: new-breakpoint(min-width $ipad-landscape orientation landscape 12)
$desktop: new-breakpoint(min-width $desktop-size 12)
$largedesktop: new-breakpoint(min-width $largedesktop-size 12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment