单行:
.box{
text-overflow:ellipsis;
overflow: hidden;
white-space:nowrap;
}
多行:
.box{
word-break: break-word;
text-overflow:ellipsis;
overflow: hidden;
display: -webkit-box;
/*! autoprefixer: off */
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
/* autoprefixer: on */
}