.class{
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
css 设置文本设置多行,超出隐藏
猜你喜欢
转载自www.cnblogs.com/hill-foryou/p/11451136.html
今日推荐
周排行