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;
}免费教程
生活中,很多人都有拖延的习惯。虽然拖延的过程能让人得到片刻的欢愉,但真正的问题却从未被解决。小事拖成大事,好事拖成坏事,易事拖成难事,到头来往往会一无所获、一事无成。做好时间管理,把事情分出轻重缓急,知道自己应该先做什么,生活就会轻松很多。今日事,就应今日毕;明日复明日,明日何其多?只有珍惜今天的人,才能把握好明天。
0
本文标签:
















5.00