Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Normalize.css is an alternative to CSS resets
branch: master

Merge pull request #13 from jjb/patch-1

require normalize before all other CSS


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:

gem 'normalize-rails'

And then execute:

$ bundle


And then in your application.css

*= require normalize-rails
*= require_self
*= require_tree .

Add it before require_tree so that you can override any of its styles.


  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
Something went wrong with that request. Please try again.