0
選択ボックス要素間の行間を増やしたいと考えています。CSSの使い方選択ボックス要素間の行間隔を増やす
私はline-height
とmin-height
を試しましたが、これは選択ボックスの要素間隔に影響します。
このプロパティを使用することができますか?
.input {
padding-bottom:5px;
margin-right:8px !important;
margin:4px;
}
ここで私はmin-height
を持っている:ここでは
select, textarea {
background: #eee;
border: 1px solid #aaa;
border-right-color: #ddd;
border-bottom-color: #ddd;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
width: 100%;
min-height: 30px;
font-weight: normal;
}
私はline-height
を持っている:
select, textarea {
display: inline-block;
height: 20px;
padding: 4px 6px;
margin-bottom: 5px;
font-size: 12px;
line-height: 20px;
color: #555555;
vertical-align: middle;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}