The Box object is simply boxes off content.
The Box object depends on three other modules:
If you install the box object using Bower or npm, you will get these
dependencies at the same time. If not using Bower or npm, please be sure to
install and @import these dependencies in the relevant way.
You can install the box module via Bower, npm, or copy and paste.
$ bower install tree-box --saveOnce installed, @import into your project in its Object layer:
@import "bower_components/tree-box/object.box";$ npm install tree-box --saveThe least recommended option for installation is to simply download
_object.box.scss into your project and @import it into your project in its
Objects layer.
Basic usage of the Box object uses the required classes:
<div class="o-box">...</div>Other, optional classes can supplement the required base classes:
.o-box--flush: remove all padding from boxes..o-box--[tiny|small|large|huge]: alter the padding on boxes.
For example:
<div class="o-box o-box--large">...</div>- inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.