bootstrap-material-design provides the Bootstrap-Material-Design web fonts, javascripts and stylesheets as a Rails engine for use with the asset pipeline.
You can check out the demo at this link.
Add this line to your application's Gemfile:
gem 'bootstrap-material-design'
And then execute:
$ bundle
Or install it yourself as:
$ gem install bootstrap-material-design
Make sure you have installed the Bootstrap in your Rails application.
You should include the theme right after the Bootstrap CSS and include the javascript at the end of your document, everything will be converted to Material Design (paper) style.
Just like this:
application.js:
//= require bootstrap-material-design
application.css:
/*
*= require bootstrap-material-design
*/
Then restart your webserver if it was previously running.
That's it, hava fun!
Also you can see more details about bootstrap-material-design at this link or clone my gem in your computer, then run cd bootstrap-material-design/test/dummy_app && bundle && rails s
, that just give a demo for you.
- 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