Created
December 10, 2012 19:42
-
-
Save wilsonpage/4252824 to your computer and use it in GitHub Desktop.
This file contains 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
.module-x { | |
background-color: red; | |
} | |
/** | |
* Exposed API | |
*/ | |
@mixin module-x-blue { | |
background-color: blue; | |
} |
This file contains 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
.layout-x {} | |
.layout-x .module-x { | |
/** | |
* @smallscreen | |
*/ | |
@media all and (max-width: 400px) { | |
// Call the module-x-blue 'api' | |
@include module-x-blue; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment