Answers for "how to style css date input"

CSS
0

input type date all css style

::-webkit-datetime-edit { padding: 1em; }
::-webkit-datetime-edit-fields-wrapper { background: silver; }
::-webkit-datetime-edit-text { color: red; padding: 0 0.3em; }
::-webkit-datetime-edit-month-field { color: blue; }
::-webkit-datetime-edit-day-field { color: green; }
::-webkit-datetime-edit-year-field { color: purple; }
::-webkit-inner-spin-button { display: block; }
::-webkit-calendar-picker-indicator { background: orange; }
Posted by: Guest on November-11-2021

Browse Popular Code Answers by Language