Skip to content

Commit 15044dc

Browse files
authored
Fix inheritance of 'hr' border color in Firefox
1 parent 5a6f513 commit 15044dc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

normalize.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ ul ul {
5454

5555
/**
5656
* 1. Add the correct box sizing in Firefox.
57-
* 2. Show the overflow in Edge 18- and IE.
57+
* 2. Correct the inheritance of border color in Firefox.
58+
* 3. Show the overflow in Edge 18- and IE.
5859
*/
5960

6061
hr {
6162
box-sizing: content-box; /* 1 */
63+
color: inherit; /* 2 */
6264
height: 0; /* 1 */
63-
overflow: visible; /* 2 */
65+
overflow: visible; /* 3 */
6466
}
6567

6668
/**

0 commit comments

Comments
 (0)