.text{
overflow:hidden;
text-overflow:ellipsis;
display:-webkie-box;
-webkit-line-clamp:2;/*两行*/
-webkit-orient:vertical;
white-space:normal !important;
word-wrap:break-word;
}
多行文字溢出省略
最新推荐文章于 2024-09-11 21:44:44 发布
.text{
overflow:hidden;
text-overflow:ellipsis;
display:-webkie-box;
-webkit-line-clamp:2;/*两行*/
-webkit-orient:vertical;
white-space:normal !important;
word-wrap:break-word;
}