1、超过两行以“...”显示剩余部分
.class {
overflow: hidden;
display: -webkit-box;
word-break: break-all;
font-weight: 900;
text-overflow: ellipsis;
/*! autoprefixer: off */
-webkit-box-orient: vertical;
/*! autoprefixer: on */
-webkit-line-clamp: 2;
}
2、
vue+elementui项目,table项内容超过确定行以“...”显示剩余部分的实现
原文:https://www.cnblogs.com/sylys/p/13647345.html