mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
A modern alternative to CSS resets
7e014980b9
No longer supports IE 6/7, Firefox < 4, and Safari < 5. * Make use of `inherit` to simplify some of the rules. * Remove a lot of padding and margin normalization, particularly for typographic elements, because modern browsers share common base styles. * Add `quotes` normalization. While all target browsers support `quotes`, they don't share a common set of quote styles. Opera and IE use "curly" quotes whereas other browsers do not. Browsers don't appear to set different quotes depending on the language (via the `lang` attribute) of the content. * Remove all list normalizations and they aren't needed anymore. * Remove a handful of form normalizations that targetted IE 6/7 or Firefox 3. |
||
---|---|---|
CHANGELOG.md | ||
component.json | ||
LICENSE.md | ||
normalize.css | ||
README.md | ||
test.html |
normalize.css v1.0.1
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.
What does it do?
- Preserves useful defaults, unlike many CSS resets.
- Normalizes styles for a wide range of elements.
- Corrects bugs and common browser inconsistencies.
- Improves usability with subtle improvements.
- Explains what code does using detailed comments.
How to use it
Normalize.css is intended to be used as an alternative to CSS resets.
It's suggested that you read the normalize.css
file and consider customising
it to meet your needs. Alternatively, include the file in your project and
override the defaults later in your CSS.
Browser support
- Google Chrome
- Mozilla Firefox 4+
- Apple Safari 5+
- Opera 12+
- Internet Explorer 8+
Contribute
Please read my issue guidelines.
Acknowledgements
Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.