/* ListingCard.css */
.ListingCard { }
.ListingCard--featured { }
.ListingCard__title { }
.ListingCard__content { }
.fp-wrap--list {
width: 165px;
box-sizing: border-box;
margin-bottom: 9px;
background: rgba(255, 255, 255, 1);
position: relative;
&::after {
content: '';
width: 200%;
height: 200%;
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
border: 1px solid rgba(230, 230, 230, 1);
border-radius: 16px;
transform: scale(0.5);
transform-origin: top left;
}
}
background-color: #000;
background-image: url(images/bg.gif);
background-repeat: no-repeat;
background-position: top right;
可以简写成一行声明:
background: #000 url(images/bg.gif) no-repeat top right;
.button-view {
margin: 0;
padding: 0;
border-radius: 0;
border: unset;
line-height: unset;
background: none;
text-align: left;
box-sizing: unset;
overflow: unset;
font-size: unset;
}
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;