在一些时候我们不想使文本换行,使超出的文本以…显示 这个时候就需要: 设置文本不自动换行 white-space:nowrap; overflow:hidden; 多余的文本使用...显示 text-overflow:ellipsis;