Skip to content

Instantly share code, notes, and snippets.

@wilsonpage
Created December 10, 2012 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilsonpage/4252824 to your computer and use it in GitHub Desktop.
Save wilsonpage/4252824 to your computer and use it in GitHub Desktop.
.module-x {
background-color: red;
}
/**
* Exposed API
*/
@mixin module-x-blue {
background-color: blue;
}
.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