mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
A modern alternative to CSS resets
a51697a1dd
Firefox uses different `box-sizing` and `height` values to all other browsers. Firefox doesn't currently support `box-sizing` without the `-moz-` prefix, so we use both the vendor-prefixed and unprefixed properties to ensure that it matches the `content-box` value of other browsers. It also requires the `height` to be set to `0`. Known issue: this does not normalize IE 6/7 as `hr` cannot be reliably styled in those browsers. |
||
---|---|---|
CHANGELOG.md | ||
component.json | ||
LICENSE.md | ||
normalize.css | ||
README.md | ||
test.html |
normalize.css v1.0.2
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 3+
- Apple Safari 4+
- Opera 10+
- Internet Explorer 6+
Contribute
Please read my issue guidelines.
Acknowledgements
Normalize.css is a project by Nicolas Gallagher and Jonathan Neal.