📜  如果太长,css 隐藏文本 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:36.198000             🧑  作者: Mango

代码示例1
test test test test
#truncateLongTexts { width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis // This is where the magic happens }