index.scss
1.29 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
54
.product-list {
width: 100%;
border-top: 2px solid #ddd;
.product-item {
width: 374px;
height: 560px;
float: left;
border-bottom: 2px solid #ddd;
border-right: 2px solid #ddd;
&:nth-child(2n) {
width: 375px;
border-right: none;
}
.product-price {
height: 60px;
text-align: left;
font-family: DINAlternate-Bold;
font-size: 28px;
color: #000;
letter-spacing: 0;
margin-top: 28px;
margin-left: 40px;
display: block;
}
.product-img {
width: 300px;
height: 300px;
display: block;
margin: 0 auto;
}
.product-name {
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;
}
}
}