Skip to content

Instantly share code, notes, and snippets.

@alegut
Created June 15, 2018 13:49
Show Gist options
  • Save alegut/deaa6db7b0c3c23e5cfaf1cfdf128edc to your computer and use it in GitHub Desktop.
Save alegut/deaa6db7b0c3c23e5cfaf1cfdf128edc to your computer and use it in GitHub Desktop.
Hide AM/PM in input type="time"
input[type=time]::-webkit-datetime-edit-ampm-field {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment