Skip to content

Commit

Permalink
Normalize hr
Browse files Browse the repository at this point in the history
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 necolasgh-133
  • Loading branch information
necolas committed Jan 20, 2013
1 parent 36fa71d commit fdb11ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,16 @@ dfn {
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.
*/
Expand Down

0 comments on commit fdb11ae

Please sign in to comment.