mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Remove excess padding from radio and checkbox in IE8/9. Fix #27
This commit is contained in:
parent
2bc78e7272
commit
fefbe796f1
8
normalize.css
vendored
8
normalize.css
vendored
@ -1,4 +1,4 @@
|
||||
/*! normalize.css 2011-08-11T09:26 UTC · http://github.com/necolas/normalize.css */
|
||||
/*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 display definitions
|
||||
@ -373,12 +373,14 @@ input[type="submit"] {
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses box sizing set to content-box in IE8/9
|
||||
* 1. Addresses box sizing set to content-box in IE8/9
|
||||
* 2. Addresses excess padding in IE8/9
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box;
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user