The wrapper object will wrap its content up to the defined width.
The wrapper object depends on two other modules:
If you install the wrapper 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 wrapper module via Bower, npm, or copy and paste.
$ bower install tree-wrapper --saveOnce installed, @import into your project in its Objects layer:
@import "bower_components/tree-wrapper/object.wrapper";$ npm install tree-wrapper --saveThe least recommended option for installation is to simply download
_object.wrapper.scss into your project and @import it into your project in
its Objects layer.
Basic usage of the wrapper object uses the required classes:
<div class="o-wrapper">...</div>To turn responsive feature on, set switch to true (before you @import the file):
$tree-enable-wrapper--responsive: true;
@import "bower_components/tree-wrapper/object.wrapper";- inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.