No commit activity in last 3 years
No release in over 3 years
Spacers and Dividers
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

 Project Readme

Spacers & Dividers

Gem Version

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

  1. Stylized Dividers
  2. Horizontal Spacers
  3. Spacers.js
  4. Dividers.js

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

MIT License. Copyright (c) 2013 Robbie Marcelo, see LICENSE for full details.