A modern alternative to CSS resets
Go to file
Nicolas Gallagher a51697a1dd Normalize hr
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.
2013-01-20 09:44:25 -08:00
CHANGELOG.md Update CHANGELOG 2013-01-14 20:56:46 -08:00
component.json v1.0.2 2012-11-17 10:33:15 -08:00
LICENSE.md Rename LICENSE to LICENSE.md 2012-08-14 23:30:47 +01:00
normalize.css Normalize hr 2013-01-20 09:44:25 -08:00
README.md v1.0.2 2012-11-17 10:33:15 -08:00
test.html Add hr test 2013-01-20 09:44:13 -08:00

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.

Check out the demo

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.