Sha256: 6f34b064df3a55443c119a6011115cbd22f2fb348a6361c2e1a76a7d00f9f009

Contents?: true

Size: 293 Bytes

Versions: 5

Compression:

Stored size: 293 Bytes

Contents

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

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
singularitygs-1.0.8 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.7 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.6 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.5 stylesheets/singularitygs/math/_gutters.scss
singularitygs-1.0.4 stylesheets/singularitygs/math/_gutters.scss