Includes Marxo's Canonical.css as a lightweight and modern alternative to normalize-rails.
Add this line to your application's Gemfile:
gem 'canonical_css'
And then execute:
$ bundle
Or install it yourself as:
$ gem install canonical_css
After installing, go to application.css
and add:
*= require canonical
Or, to be more specific, you could add it in any .scss
with:
@import 'canonical';
Bug reports and pull requests are welcome on GitHub at https://github.com/hectorpalmatellez/canonical-css. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.