Skip to content

Instantly share code, notes, and snippets.

View floatingboxes's full-sized avatar

Dan Sweeney floatingboxes

View GitHub Profile
// thanks: https://gist.github.com/stammy/4442615
$mq-mobile-portrait: 20em !default; // 20em * 16px = 320px
$mq-mobile-landscape: 30em !default; // 40em * 16px = 480px
$mq-tablet-portrait: 48em !default; // 48em * 16px = 768px
$mq-tablet-landscape: 64em !default; // 64em * 16px = 1024px
$mq-desktop : 75em !default; // 75em * 16px = 1200px
// Both portrait and landscape
@mixin mobile-only {