.goods_name{
display: -webkit-box;
overflow: hidden;
white-space: normal !important;
text-overflow: ellipsis;
word-wrap: break-word;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
前端页面实现输入文字过多时,超出部分用省略号显示
猜你喜欢
转载自blog.csdn.net/qq_39516866/article/details/81451673
今日推荐
周排行