iOS bug - input search type
by sas_sam
HTML
<div id="container">
<p>Search input field:
<input type="search" id="inputSearch" />
</p>
<p>
<a href="#" class="link-hover">Link with hover style</a>
</p>
<p>
<button id="btn" class="button-normal">Simple button</button>
</p>
<p>
<input type="button" id="inputButton" class="button-normal" value="input button" />
</p>
<p>Sample text</p>
</div>
CSS
#container {
position: relative;
}
a {
color: #0C0;
text-decoration: none;
}
a:hover {
color: #00F;
text-decoration: underline;
}
.button-normal {
width: 200px;
background-color: #09F;
height: 50px;
padding: 10px;
text-align: center;
color: #FFF;
font-size: 16px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
line-height: 30px;
vertical-align: middle;
cursor: pointer;
font-weight: bold;
}
#inputSearch {
font-size: 14px;
line-height: 40px;
color: #333;
background-color: #FFF;
vertical-align: middle;
padding: 5px;
height: 40px;
border: 1px solid #CCC;
}
.button-normal:hover {
border: 3px solid #03C;
}
.button-normal:active {
border: 3px solid #F90;
background-color: #FC0;
}