Home > Net >  Align entered date in input[type='date'] in mobile browsers
Align entered date in input[type='date'] in mobile browsers

Time:12-01

I want to left-align the entered date in input[type='date']. However, on mobile browsers (I'm testing on safari and chrome), the date stays in the center of the input. enter image description here

input::-webkit-date-and-time-value {
    text-align: left;
}
  • Related