Integrates normalize.css with the rails asset pipeline.
Normalize.css is a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards. We researched the differences between default browser styles in order to precisely target only the styles that need normalizing.
Normalize.css was written by Nicolas Gallagher and Jonathan Neal.
For Rails 3.1+ only
Add this line to your application's Gemfile:
And then execute:
And then in your application.css
*= require_self *= require normalize-rails *= require_tree .
Add it before require_tree so that you can override any of its styles.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request