Skip to content

Commit fefbe79

Browse files
committed
Remove excess padding from radio and checkbox in IE8/9. Fix necolas#27
1 parent 2bc78e7 commit fefbe79

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

normalize.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! normalize.css 2011-08-11T09:26 UTC · http://github.com/necolas/normalize.css */
1+
/*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css */
22

33
/* =============================================================================
44
HTML5 display definitions
@@ -373,12 +373,14 @@ input[type="submit"] {
373373
}
374374

375375
/*
376-
* Addresses box sizing set to content-box in IE8/9
376+
* 1. Addresses box sizing set to content-box in IE8/9
377+
* 2. Addresses excess padding in IE8/9
377378
*/
378379

379380
input[type="checkbox"],
380381
input[type="radio"] {
381-
box-sizing: border-box;
382+
box-sizing: border-box; /* 1 */
383+
padding: 0; /* 2 */
382384
}
383385

384386
/*

0 commit comments

Comments
 (0)