Css单行省略号
.ellipsis {
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
Css多行省略号
display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
overflow: hidden; text-overflow: ellipsis;
Flex布局导致省略号无效
.content{display:flex}
.content .left{width:200rpx}
.content .right{flex: 1; min-width: 0;}
.content .right .title{
line-height: 38rpx;
height:38rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}免费教程
2.7读书,可以明智,可以修身,可以养心。无论是驱赶焦虑,还是对抗平庸,读书都是最好的方式。你读过的每一本书,都在丰盈你的精神,浇灌你的人生。坚持读书,学会掌控人生的大方向,方能行稳致远。
0
本文标签:
















5.00