flex:1;
width:0px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
当使用flex时 设置一行不超出需要设置宽度为0
猜你喜欢
转载自blog.csdn.net/weixin_44157964/article/details/104781161
今日推荐
周排行