解決select option文字過長換行

.selbox{ width: 7.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } width/ white-space/ overflow,這三個屬性是必要條件。css
相關文章
相關標籤/搜索