1.不换行:
.title{
white-space:nowrap;
text-overflow:ellipsis;
}
2.超出变三点
.title{
white-space:nowrap;
text-overflow:ellipsis;
over-flow:hidden;
}
3.字间距
letter-spacing:0.32rem;
4.文字阴影:
链
接:https://www.w3.org/Style/Examples/007/text-shadow