文字单行溢出不显示
overflow:hidden;
text-overflow:ellipsis;
white-space: nowrap;
以及2行溢出不显示
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
文字单行溢出显示,2行溢出不显示
猜你喜欢
转载自blog.csdn.net/wangjiali123123/article/details/89295408
今日推荐
周排行