1.超出显示...
-
overflow:hidden;
不显示超过对象尺寸的内容,就是把超出的部分隐藏了; -
text-overflow:ellipsis;
当文本对象溢出是显示...,当然也可是设置属性为clip不显示点点点;
2.多行文本超出换行 还超出 显示...
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;