Last active
April 1, 2025 05:46
-
-
Save jherax/77ede9158e8d8ed79ec4787b2577b469 to your computer and use it in GitHub Desktop.
Disable auto-zoom in input elements - For Safari, iPhone
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
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no" /> |
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
/* @see | |
* https://stackoverflow.com/a/16255670/2247494 | |
*/ | |
@supports (-webkit-overflow-scrolling: touch) { | |
select, | |
textarea, | |
input { | |
font-size: 16px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment