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