Spacers & Dividers
Spacers and Dividers is my own replacement for <hr/>
and <br/>
tags with creative touch (still in progress) that you can also use in your projects.
Installation
Add this line to your application's Gemfile:
gem 'spacers_and_dividers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spacers_and_dividers
Usage
The vertical spacer is the only available feature as of now.
To start using it, just create a <div class='vspacer-[PREFERRED HEIGHT]'></div>
and the
wizards will automatically do the spacing. (Without the brackets ofcourse)
Set it up
# In your /application.js file add this line. If an error occurs, just restart your server.
//= require spacer
Example
<div class="vspacer-1000"></div>
<h1> br sucks vspacer rocks! </h1>
<p> vspacer will generate a 1000px height </p>
Requires
- Jquery
TODOS
- Stylized Dividers
- Horizontal Spacers
- Spacers.js
- Dividers.js
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
MIT License. Copyright (c) 2013 Robbie Marcelo, see LICENSE for full details.