請參閱:http://codepen.io/Chiz/pen/RaORwd下拉式組合框不對齊
我在Mac/Chrome上。 2個文本字段正確對齊,但不是下拉框。任何人都知道是什麼導
* {
font-family: "Open Sans";
}
form {
margin-top: 1%;
}
input {
width: 18rem;
height: 2rem;
border: 1px solid lighten(grey, 30%);
border-radius: 4px;
}
select {
width: 18rem;
height: 2.2rem;
}
input,
select {
margin-left: 6rem;
}
<form>
First Name:
<input type="text" name="firstname">
<br>
<br>Last Name:
<input type="text" name="lastname">
<br>
<br>Country:
<select>
<option value="Singapore">Singapore</option>
</select>
</form>