/* 超出隐藏省略号 */
.over_text {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100px;
height: 50px;
}
.over_text:hover{
width: 200px;
height: 100px;
overflow: visible;
white-space: normal;
text-overflow: inherit;
}
.over_hidden {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
超出隐藏
最新推荐文章于 2024-07-12 08:49:43 发布