aleut.tools.functions
v1.0.1
Published
aleutcss’ default functions (based on Harry Roberts inuitcss framework)
Downloads
11
Readme
Functions
The aleutcss functions
module—like mixins
—contains a few framework functions
that are required for using any of the rest of aleutcss.
These 4 functions basically multiplies or divide a given number (mostly the base-spacing) by 4 or 2.
Install using npm:
$ npm install --save-dev aleut.tools.functions
Usage
Basic usage of the functions in a SCSS-file:
.classname{
margin-top: quarter(24px);
margin-right: halve(24px);
margin-bottom: double(24px);
margin-left: quadruple(24px);
}