The sprite object simply creates spriting element abstraction.
The sprite object depends on one other module:
If you install the sprite 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 sprite module via Bower, npm, or copy and paste.
$ bower install tree-sprite --saveOnce installed, @import into your project in its Object layer:
@import "bower_components/tree-sprite/object.sprite";$ npm install tree-sprite --saveThe least recommended option for installation is to simply download
_object.sprite.scss into your project and @import it into your project in
its Object layer.
Basic usage of the sprite object uses the required classes:
<i class="o-sprite">...</i>- inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.