No commit activity in last 3 years
No release in over 3 years
This simple plugin for Compass enables you to use normalize.css in your stylesheets without having to download it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.12.0
 Project Readme

Compass Normalize.css

This simple plugin for Compass enables you to use normalize.css in your stylesheets without having to download it.

Installation

It is highly encouraged to install from the RubyGems build which can be found here.

From the command line:

$ gem install compass-normalize

You can also install the gem from your local clone:

$ git clone git://github.com/ksmandersen/compass-normalize.git
$ rake build
$ rake install

Normalize Versions

Since v3, Normalize only has one version for modern browsers (Firefox 4+, Chrome, Safari 5+, Opera, and Internet Explorer 8+). If you need support for older browsers, please use the older version of Compass normalize, that include a legacy Normalize.

Usage

When creating a new project with compass:

$ compass create <my_project> -r compass-normalize --using compass-normalize

If using an existing project, edit your config.rb and add this line:

require 'compass-normalize'

To use the normalize plugin, just import and include normalize:

@import "normalize";

You can also just import parts you need:

@import 'normalize/html5';
@import 'normalize/base';
@import 'normalize/links';
@import 'normalize/typography';
@import 'normalize/embeds';
@import 'normalize/groups';
@import 'normalize/forms';
@import 'normalize/tables';

Acknowledgements

Many thanks to Frederic Hemberger, Sam Richard and Ian Carrico who contributed greatly to this project.

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to The Unlicense

Major components: