55
66/**
77 * 1. Correct the line height in all browsers.
8- * 2. Prevent adjustments of font size after orientation changes in
9- * IE on Windows Phone and in iOS.
8+ * 2. Prevent adjustments of font size after orientation changes in iOS.
109 */
1110
1211html {
1312 line-height : 1.15 ; /* 1 */
14- -ms-text-size-adjust : 100% ; /* 2 */
1513 -webkit-text-size-adjust : 100% ; /* 2 */
1614}
1715
1816/* Sections
1917 ========================================================================== */
2018
2119/**
22- * Remove the margin in all browsers (opinionated) .
20+ * Remove the margin in all browsers.
2321 */
2422
2523body {
2624 margin : 0 ;
2725}
2826
29- /**
30- * Add the correct display in IE 9-.
31- */
32-
33- article ,
34- aside ,
35- footer ,
36- header ,
37- nav ,
38- section {
39- display : block;
40- }
41-
4227/**
4328 * Correct the font size and margin on `h1` elements within `section` and
4429 * `article` contexts in Chrome, Firefox, and Safari.
5237/* Grouping content
5338 ========================================================================== */
5439
55- /**
56- * Add the correct display in IE 9-.
57- * 1. Add the correct display in IE.
58- */
59-
60- figcaption ,
61- figure ,
62- main { /* 1 */
63- display : block;
64- }
65-
66- /**
67- * Add the correct margin in IE 8.
68- */
69-
70- figure {
71- margin : 1em 40px ;
72- }
73-
7440/**
7541 * 1. Add the correct box sizing in Firefox.
7642 * 2. Show the overflow in Edge and IE.
10470}
10571
10672/**
107- * 1. Remove the bottom border in Chrome 57- and Firefox 39-.
73+ * 1. Remove the bottom border in Chrome 57-
10874 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
10975 */
11076
@@ -114,15 +80,6 @@ abbr[title] {
11480 text-decoration : underline dotted; /* 2 */
11581}
11682
117- /**
118- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
119- */
120-
121- b ,
122- strong {
123- font-weight : inherit;
124- }
125-
12683/**
12784 * Add the correct font weight in Chrome, Edge, and Safari.
12885 */
@@ -144,23 +101,6 @@ samp {
144101 font-size : 1em ; /* 2 */
145102}
146103
147- /**
148- * Add the correct font style in Android 4.3-.
149- */
150-
151- dfn {
152- font-style : italic;
153- }
154-
155- /**
156- * Add the correct background and color in IE 9-.
157- */
158-
159- mark {
160- background-color : # ff0 ;
161- color : # 000 ;
162- }
163-
164104/**
165105 * Add the correct font size in all browsers.
166106 */
@@ -194,44 +134,18 @@ sup {
194134 ========================================================================== */
195135
196136/**
197- * Add the correct display in IE 9-.
198- */
199-
200- audio ,
201- video {
202- display : inline-block;
203- }
204-
205- /**
206- * Add the correct display in iOS 4-7.
207- */
208-
209- audio : not ([controls ]) {
210- display : none;
211- height : 0 ;
212- }
213-
214- /**
215- * Remove the border on images inside links in IE 10-.
137+ * Remove the border on images inside links in IE 10.
216138 */
217139
218140img {
219141 border-style : none;
220142}
221143
222- /**
223- * Hide the overflow in IE.
224- */
225-
226- svg : not (: root ) {
227- overflow : hidden;
228- }
229-
230144/* Forms
231145 ========================================================================== */
232146
233147/**
234- * 1. Change the font styles in all browsers (opinionated) .
148+ * 1. Change the font styles in all browsers.
235149 * 2. Remove the margin in Firefox and Safari.
236150 */
237151
@@ -267,16 +181,14 @@ select { /* 1 */
267181}
268182
269183/**
270- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
271- * controls in Android 4.
272- * 2. Correct the inability to style clickable types in iOS and Safari.
184+ * Correct the inability to style clickable types in iOS and Safari.
273185 */
274186
275187button ,
276- html [type = "button" ], /* 1 */
188+ [type = "button" ],
277189[type = "reset" ],
278190[type = "submit" ] {
279- -webkit-appearance : button; /* 2 */
191+ -webkit-appearance : button;
280192}
281193
282194/**
@@ -327,26 +239,24 @@ legend {
327239}
328240
329241/**
330- * 1. Add the correct display in IE 9-.
331- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
242+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
332243 */
333244
334245progress {
335- display : inline-block; /* 1 */
336- vertical-align : baseline; /* 2 */
246+ vertical-align : baseline;
337247}
338248
339249/**
340- * Remove the default vertical scrollbar in IE.
250+ * Remove the default vertical scrollbar in IE 10+ .
341251 */
342252
343253textarea {
344254 overflow : auto;
345255}
346256
347257/**
348- * 1. Add the correct box sizing in IE 10- .
349- * 2. Remove the padding in IE 10- .
258+ * 1. Add the correct box sizing in IE 10.
259+ * 2. Remove the padding in IE 10.
350260 */
351261
352262[type = "checkbox" ],
@@ -397,12 +307,10 @@ textarea {
397307 ========================================================================== */
398308
399309/*
400- * Add the correct display in IE 9-.
401- * 1. Add the correct display in Edge, IE, and Firefox.
310+ * Add the correct display in Edge, IE 10+, and Firefox.
402311 */
403312
404- details , /* 1 */
405- menu {
313+ details {
406314 display : block;
407315}
408316
@@ -414,30 +322,19 @@ summary {
414322 display : list-item;
415323}
416324
417- /* Scripting
325+ /* Misc
418326 ========================================================================== */
419327
420328/**
421- * Add the correct display in IE 9-.
422- */
423-
424- canvas {
425- display : inline-block;
426- }
427-
428- /**
429- * Add the correct display in IE.
329+ * Add the correct display in IE 10+.
430330 */
431331
432332template {
433333 display : none;
434334}
435335
436- /* Hidden
437- ========================================================================== */
438-
439336/**
440- * Add the correct display in IE 10- .
337+ * Add the correct display in IE 10.
441338 */
442339
443340[hidden ] {
0 commit comments