Skip to content

Commit 25a109d

Browse files
author
Jonathan Neal
committed
Merge branch 'battaglr-patch-1'
2 parents ceef420 + 6f78003 commit 25a109d

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

normalize.css

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22

33
/**
44
* 1. Change the default font family in all browsers (opinionated).
5-
* 2. Prevent adjustments of font size after orientation changes in IE and iOS.
5+
* 2. Correct the line height in all browsers.
6+
* 3. Prevent adjustments of font size after orientation changes in IE and iOS.
67
*/
78

89
html {
910
font-family: sans-serif; /* 1 */
10-
-ms-text-size-adjust: 100%; /* 2 */
11-
-webkit-text-size-adjust: 100%; /* 2 */
11+
line-height: 1.15; /* 2 */
12+
-ms-text-size-adjust: 100%; /* 3 */
13+
-webkit-text-size-adjust: 100%; /* 3 */
1214
}
1315

1416
/**
@@ -154,20 +156,6 @@ h1 {
154156
margin: 0.67em 0;
155157
}
156158

157-
/**
158-
* Correct the line-height for all headings in Chrome mobile, Firefox,
159-
* iOS Safari, Microsoft Edge and IE.
160-
*/
161-
162-
h1,
163-
h2,
164-
h3,
165-
h4,
166-
h5,
167-
h6 {
168-
line-height: 1.15;
169-
}
170-
171159
/**
172160
* Add the correct background and color in IE 9-.
173161
*/

0 commit comments

Comments
 (0)