The functions
module is required for using any of the rest of the
framework.
You can install the functions
module via Bower, npm, or copy and paste.
$ bower install tree-functions --save
Once installed, @import
into your project in its Tools layer:
@import "bower_components/tree-functions/tools.functions";
$ npm install tree-functions --save
The least recommended option for installation is to simply download
_tools.functions.scss
into your project and @import
it into your project in
its Tools layer.
Basic usage of the functions
module:
.foo {
padding: halve(10px);
}
This will yield:
.foo {
padding: 5px;
}
- inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.