Skip to content

Instantly share code, notes, and snippets.

@babsgosgens
Last active December 20, 2015 17:59
Show Gist options
  • Save babsgosgens/6172567 to your computer and use it in GitHub Desktop.
Save babsgosgens/6172567 to your computer and use it in GitHub Desktop.
Helper mixin for source-ordering. Expects a fraction as a value.
@mixin move($fraction, $persistent: false)
{
position: relative;
left: fraction-to-percentage($fraction);
@if $persistent and $column-breakpoint {
@include breakpoint( $column-breakpoint ) {
position: static;
position: initial;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment