<div class="secondFloor">
<div class="publish">
大家今天都提前到公司,并且服装整齐,每个人都说出自己的想法。
大家今天都提前到公司,并且服装整齐,每个人都说出自己的想法。
</div>
</div>
<div class="thirdFloor">浮在这个内容上</div>
------------------------------------------------------------------
.report-content .card .secondFloor {
width: 253px;
height: 40px;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #48515F;
margin: 10px 0 20px 0;
line-height: 20px;
position: relative;
}
.report-content .card .publish {
width: 298px;
height: 40px;
padding-left: 45px;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.report-content .card .publish:hover {
position: relative;
height: auto;
background: #ffffff;
overflow: unset;
-webkit-line-clamp: unset;
padding-bottom: 10px;
}