/* 三行文字 省略号 */
.lookmoretop{
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
width: 300px;
margin-top: 20px;
margin-left: 10px;
padding: 10px;
border-radius: 25px 25px 0px 0px;
background-color: rgba(204, 204, 204, 0.3);
height: 68px;
}
/* 查看更多 */
.lookmorebottom{
border-radius: 0px 0px 25px 25px;
background-color: rgba(204, 204, 204, 0.3);
width: 320px;
margin-left: 10px;
text-align: center;
color: rgba(14, 14, 212, 0.61)
}
css样式[三行文字省略号查看更多]
猜你喜欢
转载自blog.csdn.net/java_sparrow/article/details/80578499
今日推荐
周排行