Last active
December 24, 2015 21:09
-
-
Save Pestov/6863444 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Reset default Webkit search input style http://stackoverflow.com/questions/9421551/how-do-i-remove-all-default-webkit-search-field-styling */ | |
input[type='search']::-webkit-search-decoration, | |
input[type='search']::-webkit-search-cancel-button, | |
input[type='search']::-webkit-search-results-button, | |
input[type='search']::-webkit-search-results-decoration { | |
display: none; | |
} | |
/* Reset browser native datepicker http://stackoverflow.com/questions/11320615/disable-browser-native-datepicker */ | |
/* To hide the input arrow: */ | |
input::-webkit-calendar-picker-indicator{ | |
display: none; | |
} | |
/* Hide the prompt: */ | |
input[type="date"]::-webkit-input-placeholder{ | |
visibility: hidden !important; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment