{
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;
white-space:normal;
word-break:break-word;
-webkit-line-clamp: 2
}
css控制文字两行显示,多余的显示省略号
于 2023-06-15 17:45:47 首次发布