https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
371 B
23 lines
371 B
7 years ago
|
// Float Isolation API
|
||
|
// ===================
|
||
|
|
||
|
// Isolate Output
|
||
|
// --------------
|
||
|
// - $push : <length>
|
||
|
// - [$flow] : ltr | rtl
|
||
|
@mixin isolate-output(
|
||
|
$push,
|
||
|
$flow: map-get($susy-defaults, flow)
|
||
|
) {
|
||
|
$to: to($flow);
|
||
|
$from: from($flow);
|
||
|
|
||
|
$output: (
|
||
|
float: $from,
|
||
|
margin-#{$from}: $push,
|
||
|
margin-#{$to}: -100%,
|
||
|
);
|
||
|
|
||
|
@include output($output);
|
||
|
}
|