Skip to content
Normalize.css is an alternative to CSS resets
Ruby
Latest commit fbf6752 Apr 19, 2016 @paulbeattie paulbeattie Merge pull request #20 from pzi/master
Update to Normalize v4.1.1

README.md

Normalize-Rails

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

Installation

Add this line to your application's Gemfile:

gem 'normalize-rails'

And then execute:

$ bundle

Usage

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.

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