Created
November 28, 2013 08:59
-
-
Save ImBobby/7689032 to your computer and use it in GitHub Desktop.
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 characters
$tablet: "..."; | |
$tablet-landscape: "..."; | |
$desktop: "..."; | |
body { | |
// style for mobile (STYLE A) | |
@media #{$tablet} { | |
//style for tablet (STYLE B) | |
} | |
@media #{$tablet-landscape} { | |
//style for tablet landscape (STYLE C) | |
} | |
@media #{$desktop} { | |
//style for desktop (STYLE C) | |
} | |
} | |
//since tablet-landscape and desktop share same style, is it possible to do this? | |
body { | |
//style | |
@media #{$tablet-landscape}, | |
@media #{$desktop} { | |
//style for both tablet-landscape and desktop | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment