Sha256: ab4bea9bb3f6c35ed0d80c3e891688fdf4f931b4df85bca542c762d7cd0353a8

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 Bytes

Contents

// Float Ends API
// ==============

// Float Last
// ----------
// - [$flow]  : ltr | rtl
@mixin float-last(
  $flow: susy-get(flow),
  $last-flow: susy-get(last-flow),
  $margin: 0
) {
  $to: to($flow);

  float: if($last-flow == to, $to, null);
  margin-#{$to}: $margin;
}

// Float First
// -----------
// - [$flow]  : ltr | rtl
@mixin float-first(
  $flow: susy-get(flow)
) {
  margin-#{from($flow)}: 0;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
susy-2.0.0.alpha.6 sass/susy/api/float/_end.scss
susy-2.0.0.alpha.5 sass/susy/api/float/_end.scss