Display when the text content exceeds the width (...)
text-overflow:ellipsis;
需与overflow:hidden;一起使用
The text exceeds the word wrap
white-space: nowrap;//不换行
white-space:pre-wrap;//换行
Display when the text content exceeds the width (...)
text-overflow:ellipsis;
需与overflow:hidden;一起使用
The text exceeds the word wrap
white-space: nowrap;//不换行
white-space:pre-wrap;//换行