css样式如下:
.video_title{
font-size: 28rpx;
display: -webkit-box;
overflow: hidden;
white-space: normal;
word-wrap: break-word;
text-overflow: ellipsis;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
展示效果:
css样式如下:
.video_title{
font-size: 28rpx;
display: -webkit-box;
overflow: hidden;
white-space: normal;
word-wrap: break-word;
text-overflow: ellipsis;
-webkit-line-clamp:2;
-webkit-box-orient: vertical;
}
展示效果: