CSS超出两行省略...
作者:互联网
以下代码:
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2; //设置行数
line-clamp: 2;//设置行数
-webkit-box-orient: vertical;
标签:box,...,省略,text,clamp,webkit,overflow,line,CSS 来源: https://blog.csdn.net/KeepLearningDay/article/details/120697470