Skip to content

Instantly share code, notes, and snippets.

@babsgosgens
Last active December 20, 2015 17:58
Show Gist options
  • Save babsgosgens/6172502 to your computer and use it in GitHub Desktop.
Save babsgosgens/6172502 to your computer and use it in GitHub Desktop.
@mixin column-behavior($apply-border-box: $apply-border-box, $column-float: $column-float)
{
@if $column-float {
display: block;
float: left;
}
@else {
@include inline-block(top);
@if $negative-right-margin {
margin-right: $negative-right-margin !important;
}
}
@if $apply-border-box {
@include box-sizing('border-box');
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment