Sha256: cec7ff76b3c1db447162f84e7e6b654a538a4a27cae44325d9c20d3c5b07cfaa
Contents?: true
Size: 1.04 KB
Versions: 19
Compression:
Stored size: 1.04 KB
Contents
// // SASS Functions // @author Ad Taylor // // ========================================================================== // Convert number to word - https://github.com/zurb/foundation/blob/master/scss/foundation/functions/_convert-number-to-word.scss // ========================================================================== @function convert-number-to-word($num) { $count:1; @each $word in one,two,three,four,five,six,seven,eight,nine,ten,eleven, twelve,thirteen,fourteen,fifteen,sixteen,seventeen,eighteen,nineteen, twenty,twentyone,twentytwo,twentythree,twentyfour{ @if ($count == $num) { @return $word; } $count: $count + 1; } @return "invalid"; } // ======================================================================== // Grid Calculation for Percentages - https://github.com/zurb/foundation/blob/master/scss/foundation/functions/_grid-calc.scss // ======================================================================== @function gridCalc($colNumber, $totalColumns) { @return percentage(($colNumber / $totalColumns)); }
Version data entries
19 entries across 19 versions & 2 rubygems