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`.

Fix gh-133
This commit is contained in:
Nicolas Gallagher 2013-01-20 09:23:49 -08:00
parent 36fa71d531
commit fdb11ae5b5

10
normalize.css vendored
View File

@ -134,6 +134,16 @@ dfn {
font-style: italic; font-style: italic;
} }
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/** /**
* Address styling not present in IE 8/9. * Address styling not present in IE 8/9.
*/ */