重点:text-overflow: ellipsis;只对display:inline;起作用<span class="a">我说说<b class="b">哈哈哈哈哈哈哈哈哈哈哈哈
原创
2021-02-20 13:35:48
2081阅读
overflow: hidden; text-overflow: ellipsis; display: -webkit-box; /* autoprefixer: off */ -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-bre ...
转载
2021-08-13 13:15:00
2373阅读
2评论
// 文本最多两行展示 .text-line-2 { overflow: hidden; text-overflow: ellipsis; word-break: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; dis
转载
2019-09-16 16:48:00
328阅读
2评论