I'm trying to center the value of an input field (not the placeholder). Somehow iOS doesn't "recognize" the centering, however firefox, safari and chrome do.
HTML
<input type="time" value="12:00">
CSS
input {
background-color: lightyellow;
border: none;
outline: none;
text-align: center;
width: 200px;
padding: 5%;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-background-clip: border-box;
-webkit-background-origin: padding-box;
-webkit-background-size: auto;
-webkit-box-shadow: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
The result should be a yellow box containing the time 12:00 centered, on an iOS devices it doesn't work.
Here's a jsfiddle: http://jsfiddle.net/y9TPM/4/