mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Normalize hr
overflow
Address IE 8,9,10,11 setting overflow to hidden.
This commit is contained in:
parent
bb55babbd1
commit
46e3e0554c
@ -1,6 +1,7 @@
|
|||||||
=== HEAD
|
=== HEAD
|
||||||
|
|
||||||
* Address inconsistent styling of b and strong.
|
* Address inconsistent styling of b and strong.
|
||||||
|
* Correct `hr` overflow in IE 8/9/10/11 and Edge 12.
|
||||||
|
|
||||||
=== 3.0.3 (March 30, 2015)
|
=== 3.0.3 (March 30, 2015)
|
||||||
|
|
||||||
|
9
normalize.css
vendored
9
normalize.css
vendored
@ -212,12 +212,15 @@ figure {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Address differences between Firefox and other browsers.
|
* Address inconsistent styling of `hr`.
|
||||||
|
* 1. Correct `box-sizing` set to `border-box` in Firefox.
|
||||||
|
* 2. Correct `overflow` set to `hidden` in IE 8/9/10/11 and Edge 12.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
box-sizing: content-box;
|
box-sizing: content-box; /* 1 */
|
||||||
height: 0;
|
height: 0; /* 1 */
|
||||||
|
overflow: visible; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user