Skip to content

Instantly share code, notes, and snippets.

@scottkellum
Created January 13, 2013 15:05
Show Gist options
  • Save scottkellum/4524510 to your computer and use it in GitHub Desktop.
Save scottkellum/4524510 to your computer and use it in GitHub Desktop.
@mixin grid-output($method) {
// default output methods
@if $method == float {
float: left;
// float styles.
}
@if $method == isolation {
float: left;
// float styles.
}
@container container;
}
// Add mixin extensions here. Might also be useful inside functions.
@fill container {
@if $method == table-cell {
// extend foo function with list output.
}
}
@fill container {
@if $method == grid-layout {
// extend foo function with list output.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment