Hide the upd/down spinner elements for date input types

This commit is contained in:
Vinh Lam 2016-04-25 13:13:29 -07:00
parent 0136b14acf
commit f25d533825

View File

@ -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;
}