Sha256: 3c333cf6805df306203ced1845c381dc2296c73c2fcc04a9b5287287c32b6b99
Contents?: true
Size: 407 Bytes
Versions: 3
Compression:
Stored size: 407 Bytes
Contents
// Parses the total number of columns from `$columns` @function grid-parse-column-count($span) { @if length($span) == 3 { $_total-columns: nth($span, 3); @return $_total-columns; } @else if length($span) == 2 { $_total-columns: nth($span, 2); @return $_total-columns; } @else if length($span) >= 3 { @error "`$column` had #{$span} values but should have no greater than 3"; } }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cask-0.3.2 | core/functions/_grid-parse-column-count.scss |
cask-0.3.1 | core/functions/_grid-parse-column-count.scss |
cask-0.2.1 | app/assets/stylesheets/functions/_grid-parse-column-count.scss |