を(とmax-width/max-height、およびline-heightを調整します)。.segment-button: first-of-type
、.segment-button:not(:first-of-type)
,.segment-button:last-of-type
,.md .segment-button
。このような
何か:
.md .segment-button {
border-style: none;
border-color: #e62100;
color: #e62100;
border-width: thin;
font-size: 12px;
}
.segment-button:first-of-type {
width: 40px;
height: 38px;
border-radius: 50%;
font-size: 15px;
line-height: 40px;
max-width: 40px;
max-height: 40px;
}
.segment-button:not(:first-of-type) {
width: 40px;
height: 38px;
border-radius: 50%;
font-size: 15px;
line-height: 40px;
max-width: 40px;
max-height: 40px;
}
.segment-button:last-of-type {
width: 40px;
height: 38px;
border-radius: 50%;
font-size: 15px;
line-height: 40px;
max-width: 40px;
max-height: 40px;
}
感謝:) @keithがコンテナのサイズを変更せずにそれを行うことが可能ですか?ボタンはまだ幅を埋める必要がありますページ – LeRoy