Created
March 15, 2019 14:00
-
-
Save DWboutin/93d572ee4448a23c625402933ee7fefd to your computer and use it in GitHub Desktop.
Remove zoom on IOS input focus
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
@media screen and (-webkit-min-device-pixel-ratio:0) { | |
input[type="email"]:hover, | |
input[type="number"]:hover, | |
input[type="search"]:hover, | |
input[type="text"]:hover, | |
input[type="tel"]:hover, | |
input[type="url"]:hover, | |
input[type="password"]:hover, | |
textarea:hover, | |
select:hover{font-size: initial;} | |
} | |
@media (min-width: 768px) { | |
input[type="email"]:hover, | |
input[type="number"]:hover, | |
input[type="search"]:hover, | |
input[type="text"]:hover, | |
input[type="tel"]:hover, | |
input[type="url"]:hover, | |
input[type="password"]:hover, | |
textarea:hover, | |
select:hover{font-size: inherit;} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment