forked from fixin.me/fixin.me
Hide input[type=number] spin buttons and fix text alignment
This commit is contained in:
@@ -66,6 +66,10 @@ textarea {
|
||||
background-color: inherit;
|
||||
font: inherit;
|
||||
}
|
||||
input,
|
||||
select {
|
||||
text-align: inherit;
|
||||
}
|
||||
|
||||
|
||||
/* blue - target for interaction with pointer */
|
||||
@@ -153,6 +157,17 @@ input[type=checkbox]:checked {
|
||||
appearance: checkbox;
|
||||
-webkit-appearance: checkbox;
|
||||
}
|
||||
/* Hide spin buttons in input number fields */
|
||||
input[type=number] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
input::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
input:hover,
|
||||
select:hover,
|
||||
textarea:hover {
|
||||
|
||||
Reference in New Issue
Block a user