Created
August 8, 2013 11:44
-
-
Save stevemeisner/6183922 to your computer and use it in GitHub Desktop.
Revisions
-
stevemeisner created this gist
Aug 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ // Reusable media query @mixin maxWidth-x($maxWidth, $orientation:"") { @if $orientation != "" { @media only screen and (max-width : $maxWidth) and (orientation:$orientation) { @content; } } @if $orientation == "" { @media only screen and (max-width : $maxWidth) { @content; } } } @mixin maxDeviceWidth-x($maxWidth, $orientation:"") { @if $orientation != "" { @media only screen and (max-device-width : $maxWidth) and (orientation:$orientation) { @content; } } @if $orientation == "" { @media only screen and (max-device-width : $maxWidth) { @content; } } }