例子
.text{
display: -webkit-box;
height: 2.6rem;
line-height: 1.3rem;
color: #333;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
例子
.text{
display: -webkit-box;
height: 2.6rem;
line-height: 1.3rem;
color: #333;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}