index.scss
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.product-list {
width: 100%;
border-top: 1px solid #ddd;
.product-item {
width: 374px;
height: 560px;
float: left;
border-bottom: 1px solid #ddd;
border-right: 1px solid #ddd;
&:nth-child(2n) {
width: 375px;
border-right: none;
}
.product-price {
text-align: left;
font-family: DINAlternate-Bold;
font-size: 28px;
color: #000;
letter-spacing: 0;
padding: 28px 0 0 40px;
display: inline-block;
}
.product-img {
width: 374px;
height: 374px;
display: block;
margin: 0 auto;
}
.product-name {
width: 336px;
display: block;
font-family: SFProText-Regular;
font-size: 28px;
color: #000;
letter-spacing: 0;
text-align: center;
line-height: 40px;
padding: 10px 40px 0;
box-sizing: border-box;
margin: 0 auto;
overflow : hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
}