.list_number{ display: flex; }
.list_name_number{ width:100px; } //左边固定width
.list_name_type{ //右边给flex:2 自动撑开
flex:2;
}
css display 左右对齐 技巧
于 2024-01-25 15:32:05 首次发布
.list_number{ display: flex; }
.list_name_number{ width:100px; } //左边固定width
.list_name_type{ //右边给flex:2 自动撑开
flex:2;
}