.downnew-flexbox { display:flex; align-items:center; } .downnew { display:flex; align-items:center; margin-top:18px; } .downnew .downnew-type { font-size:16px; font-family:Source Han Sans CN; font-weight:400; color:#999999; opacity:1; } .myselect { position:relative; } .myselect .select-content { width:114px; height:30px; border:1px solid #FF9901; border-radius:6px; cursor:pointer; padding:0 10px; line-height:30px; font-size:14px; font-family:Source Han Sans CN; font-weight:400; color:#333333; } .myselect-icon { position:absolute; right:5px; top:2px; cursor:pointer; } .myselect ul { border:1px solid #FF9901; display:block; position:absolute; border-radius:6px; margin-top:5px; width:80px; /* height:60px; */ background-color:#fff; display:none; padding:0 } .myselect ul li { cursor:pointer; width:100%; height:30px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; /* text-align:center; */ padding:0 10px; box-sizing:border-box; line-height:30px; font-size:14px; font-family:Source Han Sans CN; font-weight:400; color:#333333; } .myselect ul li:hover { background-color:#FF9901; color:#fff; }
更新时间:2021-08-06 11:03:05
有个不是最简化 最完美的