Last active
April 3, 2017 06:27
-
-
Save tankbar/5e11f26f85266658959880c4df2140c9 to your computer and use it in GitHub Desktop.
Mobile Safari Reset Inputs
This file contains hidden or 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
/* MOBILE SAFARI RESET INPUTS */ | |
input[type="text"], | |
input[type="password"], | |
input[type="email"] { | |
-webkit-appearance: none; | |
-moz-appearance: none; | |
appearance: none; | |
} | |
/* Make webkit render the search input like a normal text field */ | |
input[type=search] { | |
-webkit-appearance:textfield; | |
-webkit-box-sizing:content-box; | |
} | |
input[type="submit"] { | |
-webkit-appearance:none; | |
-webkit-border-radius:0; | |
} | |
input[type=search]::-webkit-search-cancel-button, | |
input[type=search]::-webkit-search-decoration, | |
input[type=search]::-webkit-search-results-button, | |
input[type=search]::-webkit-search-results-decoration { | |
-webkit-appearance:none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment