Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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; }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #type #date #css #style
ADD COMMENT
Topic
Name
4+2 =