Sha256: f04539ae75aceafff6517d7afc12fe8a1abe56e4c49e9c786f93085a3cb580fc
Contents?: true
Size: 674 Bytes
Versions: 6
Compression:
Stored size: 674 Bytes
Contents
@charset "UTF-8"; /// Determine the ratio of `$columns` to the total column count. /// If `$columns` is more than one value, they are handed to /// `_neat-parse-columns()` which will determine the total columns and use this /// value instead of `total-columns`. /// /// @argument {map} $grid /// /// @argument {number | list} $columns /// /// @return {number} /// /// @example scss /// _neat-column-ratio($grid, 3) /// /// @access private @function _neat-column-ratio($grid, $columns) { @if length($columns) > 1 { @return nth($columns, 1) / _neat-parse-columns($columns); } @else if $columns { @return $columns / _retrieve-neat-setting($grid, columns); } }
Version data entries
6 entries across 6 versions & 3 rubygems