mirror of
https://github.com/nicolas-cusan/destyle.css.git
synced 2025-08-30 08:20:18 +02:00
Fix input selector, unify checkbox & radio style
This commit is contained in:
15
destyle.css
15
destyle.css
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user