Sha256: 09df867a65629d15be29e3cdc58b383084368b3125186de68370b5f59601e7c0

Contents?: true

Size: 521 Bytes

Versions: 2

Compression:

Stored size: 521 Bytes

Contents

// Specifies what a column's margins should be.

@mixin grid-gutter(
    $collapse: false,
    $center: false
  ) {
  @if $center {
    margin-#{grid-settings(default-float)}: auto;
    margin-#{grid-settings(opposite-direction)}: auto;
  } @else if $collapse {
    margin-#{grid-settings(default-float)}: 0;
    margin-#{grid-settings(opposite-direction)}: -(grid-settings(gutter));
  } @else {
    margin-#{grid-settings(default-float)}: grid-settings(gutter);
    margin-#{grid-settings(opposite-direction)}: 0;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cask-0.3.2 core/mixins/_grid-gutter.scss
cask-0.3.1 core/mixins/_grid-gutter.scss