tree-tabs
v0.3.0
Published
A simple tabs object.
Downloads
2
Readme
Tabs
The tabs
object is a simple abstraction for force a series of elements
(usually a list) into an equal-width, tab-like format.
Dependencies
The tabs
object depends on one other module:
If you install the tabs
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 tabs
object via Bower, npm, or copy and paste.
Install using Bower:
$ bower install tree-tabs --save
Once installed, @import
into your project in its Object layer:
@import "bower_components/tree-tabs/object.tabs";
Install using npm:
$ npm install tree-tabs --save
Install via file download
The least recommended option for installation is to simply download
_object.tabs.scss
into your project and @import
it into your project in its
Object layer.
Usage
Basic usage of the tabs
object uses the required classes:
<ul class="o-tabs">
<li class="o-tabs__item">
<a class="o-tabs__link" href="#">Foo</a>
</li>
<li class="o-tabs__item">
<a class="o-tabs__link" href="#">Bar</a>
</li>
</ul>
Credits
- inuitcss Powerful, Sass-based, OOCSS framework designed with scalability and performance in mind.