Rubygems | Latest Versions for center_html_elementshttps://rubygems.org/gems2023-09-28T03:15:27Zcenter_html_elements (0.0.7)https://rubygems.org/gems/center_html_elements/versions/0.0.72012-10-31T00:01:38ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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();
center_html_elements (0.0.6)https://rubygems.org/gems/center_html_elements/versions/0.0.62012-10-30T23:59:00ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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();
center_html_elements (0.0.5)https://rubygems.org/gems/center_html_elements/versions/0.0.52012-10-07T17:40:44ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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
## Usage
$(some-DOM-element).keep_centered('inline-block')
$(some-DOM-element).keep_centered() //default to block
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
center_html_elements (0.0.4)https://rubygems.org/gems/center_html_elements/versions/0.0.42012-09-04T17:06:27ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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
## Usage
$(some-DOM-element).keep_centered('inline-block')
$(some-DOM-element).keep_centered() //default to block
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
center_html_elements (0.0.3)https://rubygems.org/gems/center_html_elements/versions/0.0.32012-09-04T13:25:42ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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
## Usage
$(some-DOM-element).keep_centered('inline-block')
$(some-DOM-element).keep_centered() //default to block
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
center_html_elements (0.0.2)https://rubygems.org/gems/center_html_elements/versions/0.0.22012-09-04T12:49:38ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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
## Usage
$(some-DOM-element).keep_centered('inline-block')
$(some-DOM-element).keep_centered() //default to block
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
center_html_elements (0.0.1)https://rubygems.org/gems/center_html_elements/versions/0.0.12012-09-04T01:37:39ZIsaac BeteshProgrammatically alters CSS to keep HTML elements centered even when the window is resized, bundled as a Rails Engine
# 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
## Usage
$(some-DOM-element).keep_centered('inline-block')
$(some-DOM-element).keep_centered() //default to block
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request