Sha256: e6ac757988702686148286ef4dda1ee9e4e07e06238843894e948925fbc709ad
Contents?: true
Size: 674 Bytes
Versions: 55
Compression:
Stored size: 674 Bytes
Contents
///*------------------------------------*\ // #FUNCTIONS //\*------------------------------------*/ // inuitcss makes use of a few functions that are also available for you to use // later on in your extension of the framework. // Maths helpers. // // Halve and double numbers, returning rounded integers. E.g.: // // .foo { // padding: halve(3.2px); // } // @function quarter($inuit-number) { @return round($inuit-number / 4); } @function halve($inuit-number) { @return round($inuit-number / 2); } @function double($inuit-number) { @return round($inuit-number * 2); } @function quadruple($inuit-number) { @return round($inuit-number * 4); }
Version data entries
55 entries across 55 versions & 4 rubygems