span 文字超长显示省略号,结果只显示... 三个点 white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 1.检查一下是否设置了display: inline-block;去掉这个 2.或者给span设置一个宽度