Mobile First Bootstrap Grid for Rails
Ruby Gem to include the Mobile First Bootstrap Grid source code in your Rails application.
Current Version
0.0.1
Requirements
Installation
Gemfile
Add this line to your application's Gemfile:
gem 'mobile_first_bootstrap_grid-rails'
Manual
Or install it yourself as:
gem install mobile_first_bootstrap_grid-rails
Rails 3.1 or greater (with asset pipeline enabled)
The mobile-first-bootstrap-grid file will be added to the asset pipeline and available for you to use.
Add this line in app/assets/stylesheets/application.css
:
Rails 3.0 (or greated with asset pipeline disabled)
Copy the mobile-first-bootstrap-grid file into public/stylesheets
:
rails generate mobile_first_bootstrap_grid:install
Include the mobile-first-bootstrap-grid into your application:
<%= stylesheet_link_tag "mobile-first-bootstrap-grid" %>
Usage
To learn how to use the grid and layout, visit http://twitter.github.com/bootstrap/scaffolding.html
Authors
Contributing
- Fork it
- Get it running
- Create your feature branch (
git checkout -b my-new-feature
) - Write your code and specs
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
If you find bugs, have feature requests or questions, please
file an issue.
License
Copyright (c) 2012 G5
MIT License
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.