Hide the upd/down spinner elements for date input types
This commit is contained in:
parent
0136b14acf
commit
f25d533825
@ -235,8 +235,14 @@ input[type="date"] {
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
-moz-appearance: none;
|
-moz-appearance: none;
|
||||||
appearance: none;
|
appearance: none;
|
||||||
|
|
||||||
}
|
}
|
||||||
input[type="date"]:focus {
|
input[type="date"]:focus {
|
||||||
border: 1px solid #33C3F0;
|
border: 1px solid #33C3F0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Hide the up/down spinner control for Chrome. You can still use the keyboard to edit the values */
|
||||||
|
input[type="date"]::-webkit-inner-spin-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user