Sha256: 8d9ac4e8beff9ef8165824d4613d8bc8739c043b7fc176c29720429b17b4ff0f

Contents?: true

Size: 822 Bytes

Versions: 2

Compression:

Stored size: 822 Bytes

Contents

// Float Span API
// ==============

// Float Span Output
// -----------------
// - $width             : <length>
// - [$float]           : from | to
// - [$margin-before]   : <length>
// - [$margin-after]    : <length>
// - [$padding-before]  : <length>
// - [$padding-after]   : <length>
// - [$flow]            : ltr | rtl
@mixin float-span-output(
  $width,
  $float            : from,
  $margin-before    : null,
  $margin-after     : null,
  $padding-before   : null,
  $padding-after    : null,
  $flow             : susy-get(flow)
) {
  $to     : to($flow);
  $from   : from($flow);

  width: $width;
  float: if($float == to, $to, null) or if($float == from, $from, null);
  margin-#{$from}: $margin-before;
  margin-#{$to}: $margin-after;
  padding-#{$from}: $padding-before;
  padding-#{$to}: $padding-after;
}

Version data entries

2 entries across 2 versions & 1 rubygems

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