1. 單行文本省略
{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2.多行文本省略
{ overflow: hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }
{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
{ overflow: hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; }