/* 溢出的文字直接省略 */
{
white-space:nowrap; /* 文本不换行 */
overflow-x: hidden; /* x方向溢出部分隐藏 */
text-overflow:ellipsis; /* 溢出使用省略号表示 */
}
css set the overflow part of the text to be replaced by an ellipsis
Guess you like
Origin blog.csdn.net/SJ1551/article/details/107873694
Recommended
Ranking