Sha256: 68215d813e35837aa46c817e1ed83c21dc8e6a6fa58799e7846ddfabe1869c16
Contents?: true
Size: 303 Bytes
Versions: 2
Compression:
Stored size: 303 Bytes
Contents
// Calculates the ratio of a given column over its container. @function grid-column-ratio($columns) { @if length($columns) > 1 { @return nth($columns, 1) / grid-parse-column-count($columns); } @if $columns { @return $columns / grid-settings(total-columns); } @else { @return 1; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cask-0.3.2 | core/functions/_grid-column-ratio.scss |
cask-0.3.1 | core/functions/_grid-column-ratio.scss |