版权声明:版权:cometang--唐家世少所有 https://blog.csdn.net/qq_39005315/article/details/84105276
经典css【合集】
1.文本超出盒子显示省略号【文本只有一行】
overflow: hidden;
text-overflow:ellipsis;
white-space: nowrap;
2.文本超出盒子显示省略号【文本有多行】
overflow:hidden;
text-overflow:ellipsis;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:3;
2.文字间距
letter-spacing:5px; //文字间距为5px