Sha256: 15aa18461366a4894a648e20d84bd1230d42d14ab64a6ce026fa4a3cc387b3e5

Contents?: true

Size: 499 Bytes

Versions: 1

Compression:

Stored size: 499 Bytes

Contents

// Grid Syntax
// ===========

// Set Grid
// --------
// Set a new grid using a shorthand
// - $grid      : <settings>
@mixin set-grid(
  $grid
) {
  $susy: map-merge($susy, parse-grid($grid)) !global;
}

// Alternative syntax
@mixin susy-set(
  $grid
) {
  @include set-grid($grid);
}

// Use Grid
// --------
// Use an arbitrary grid for a section of code
// - $grid      : <settings>
@mixin use-grid(
  $grid
) {
  $old: $susy;

  @include set-grid($grid);
  @content;

  $susy: $old !global;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
susy-2.0.0.alpha.6 sass/susy/language/susy/_grids.scss