Skip to content

Latest commit

 

History

History
executable file
·
57 lines (34 loc) · 1.23 KB

File metadata and controls

executable file
·
57 lines (34 loc) · 1.23 KB

sprite

The sprite object simply creates spriting element abstraction.

Dependencies

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.

Installation

You can install the sprite module via Bower, npm, or copy and paste.

Install using Bower:

$ bower install tree-sprite --save

Once installed, @import into your project in its Object layer:

@import "bower_components/tree-sprite/object.sprite";

Install using npm:

$ npm install tree-sprite --save

Install via file download

The 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.

Usage

Basic usage of the sprite object uses the required classes:

<i class="o-sprite">...</i>

Credits

  • inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.