Is there any possibility to style an <input>
tag?
What I wrote:
<li><form>
<input class="search" name="s" type="search" placeholder="Search...">
<input type="submit" value=">
</form></li>
And the styling:
form{
height: 40px;
}
.search{
border: none;
background-color: #7e7376;
}
input[type=search]{
font-family: 'Overpass';
font-weight: bold;
color: #2c2729;
margin-top: 4px;
padding: 10px 15px;
height: 12px;
}
It looks very different on various browsers. I tried to apply some reset CSS but that didn't help. I am building a menu bar and the search box needs to look like part of it. Any help on this?