Skip to content

Instantly share code, notes, and snippets.

@rocktronica
Created September 13, 2013 22:26
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 rocktronica/6556878 to your computer and use it in GitHub Desktop.
Save rocktronica/6556878 to your computer and use it in GitHub Desktop.
.custom-recolumn(@when-default, @when-less-than-total-width, @first-column: false) {
.dynamic-column(@when-default, @first-column);
@media @less-than-total-width {
.dynamic-column(@when-less-than-total-width, @first-column);
}
@media @mobile {
.full-width-column();
}
}
.first {
.custom-recolumn(8, 6, true);
}
.second {
.custom-recolumn(4, 6);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment