css常用特殊样式汇总 文本内容单行显示,溢出部分用...代替 文本内容单行显示,溢出部分用…代替 <style> .text-overflow-ellipsis { width: 100px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } </style>