RubyGems Navigation menu

center_html_elements 0.0.7

# CenterHtmlElements This gem programmatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine ## Installation Add this line to your application's Gemfile: gem 'center_html_elements' And then execute: $ bundle Or install it yourself as: $ gem install center_html_elements ## Testing Download jquery and save it as "<root>/test/jquery-1.8.1.min.js" (the jquery version shouldn't matter, but use this name to make it play nicely with the test and with .gitignore) Open index.html and follow instructions there. ## Usage $(some-DOM-element).keep_centered();

Versions:

  1. 0.0.7 - October 31, 2012 (6 KB)
  2. 0.0.5 - October 7, 2012 (6 KB)
  3. 0.0.4 - September 4, 2012 (6 KB)
  4. 0.0.3 - September 4, 2012 (6 KB)
Show all versions (7 total)

Runtime Dependencies:

Authors:

  • Isaac Betesh

Owners:

B8dc4b76792ff3c8cd993aa4c9c467f6

Total downloads 4,253

For this version 1,118

Show all versions (7 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'center_html_elements', '~> 0.0.7' = Copy to clipboard Copied!

install:
gem install center_html_elements = Copy to clipboard Copied!

Links: