Sha256: 4c10f5f86af8cb6fc9822fe2d544a3851ec199bbf3a990095d12079562b5cf7e

Contents?: true

Size: 418 Bytes

Versions: 436

Compression:

Stored size: 418 Bytes

Contents

@function grid-width($n) {
  @return $n * $gw-column + ($n - 1) * $gw-gutter;
}

// The $gw-column and $gw-gutter variables must be defined in your base stylesheet to properly use the grid-width function.
//
//  $gw-column: 100px;         // Column Width
//  $gw-gutter: 40px;          // Gutter Width
//
//  div {
//    width: grid-width(4);    // returns 520px;
//    margin-left: $gw-gutter; // returns 40px;
//  }

Version data entries

436 entries across 425 versions & 16 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.18.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.17.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.16.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.6 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.5 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.4 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.3 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.1.2 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.2.pre1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.1.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.1 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
card-mod-bootstrap-0.15.0 vendor/select2/docs/themes/learn2/scss/vendor/bourbon/functions/_grid-width.scss
portfolio-jekyll-theme-2.0.0 _sass/1-tools/bourbon/functions/_grid-width.scss
daiblogs-0.2.1 _sass/bourbon/functions/_grid-width.scss
daiblogs-0.2.0 _sass/bourbon/functions/_grid-width.scss
daiblogs-0.1.5 _sass/bourbon/functions/_grid-width.scss
daiblogs-0.1.4 _sass/bourbon/functions/_grid-width.scss
daiblogs-0.1.2 assets/_sass/bourbon/functions/_grid-width.scss
daiblogs-0.1.1 assets/_sass/bourbon/functions/_grid-width.scss