Sha256: 2302e8cfa6c8133e4be671f31c9d323426f5759f47953645e17dc6e238f817c7

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

@function gutter-span($gutter: false, $columns: false) {

  // Find the columns and gutters
  $columns: find-grid($columns);
  $gutter: find-gutter($gutter);

  // Combine the columns and gutters
  $columns-and-gutters: column-sum($columns, $gutter);

  @return (nth($gutter, 1) / $columns-and-gutters) * 100%
}

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
singularitygs-1.0.3 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.2 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.1 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.0 stylesheets/singularitygs/math/_gutters.scss
susy-2.0.0.alpha.1 sass/susy/math/_gutters.scss