Fix input selector, unify checkbox & radio style

This commit is contained in:
Nicolas Cusan
2020-08-12 14:15:59 +02:00
parent e5ea5dd35a
commit 759cadf639

View File

@@ -231,8 +231,7 @@ iframe {
*/
button,
input:not([type="radio"]),
input:not([type="checkbox"]),
input:not([type="radio"]):not([type="checkbox"]),
optgroup,
select,
textarea {
@@ -250,12 +249,6 @@ textarea {
text-align: inherit;
}
[type="radio"],
[type="checkbox"] {
margin: 0;
outline: 0;
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
@@ -380,12 +373,14 @@ textarea {
}
/**
* 1. Remove the padding in IE 10.
* Remove margin, padding & outline.
*/
[type="checkbox"],
[type="radio"] {
padding: 0; /* 1 */
padding: 0;
margin: 0;
outline: 0;
}
/**