.box{
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
word-wrap: break-word;
white-space: normal !important;
-webkit-line-clamp: 3; /* 行数*/
-webkit-box-orient: vertical;
}
小程序多行文本省略号
最新推荐文章于 2024-06-01 15:59:18 发布