Skip to content
This repository

Normalize.css is an alternative to CSS resets

branch: master
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_self
*= require normalize-rails
*= 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.