View on GitHub

text-overflow

Clamps an HTML element by adding ellipsis to it if the content inside is too long

text-overflow

对于超出目标元素范围的文本进行截断。

示例