Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 18 additions & 33 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ body {
}

/**
* Render the `main` element consistently in IE.
* 1. Render the `main` element consistently in IE.
* 2. Add the correct display in Edge, IE 10+, and Firefox.
*/

main {
main, /* 1 */
details { /* 2 */
display: block;
}

Expand All @@ -46,14 +48,22 @@ h1 {
========================================================================== */

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
* Show the overflow in IE.
*/

button,
input,
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
overflow: visible;
}

/**
* Add the correct box sizing in Firefox.
*/

hr {
box-sizing: content-box;
height: 0;
}

/**
Expand Down Expand Up @@ -168,16 +178,6 @@ textarea {
margin: 0; /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/

button,
input { /* 1 */
overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
Expand Down Expand Up @@ -313,14 +313,6 @@ textarea {
/* Interactive
========================================================================== */

/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/

details {
display: block;
}

/*
* Add the correct display in all browsers.
*/
Expand All @@ -336,14 +328,7 @@ summary {
* Add the correct display in IE 10+.
*/

template {
display: none;
}

/**
* Add the correct display in IE 10.
*/

template,
[hidden] {
display: none;
}