_chanpin.css
1.48 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.chanpin-map-page {
.path-nav {
padding: 22px 0;
}
.chanpin-block {
font-size: 12px;
border: 1px solid #dfdfdf;
margin-bottom: 30px;
overflow: hidden;
.main-title {
line-height: 50px;
background-color: #eaeceb;
padding-left: 20px;
font-weight: bold;
}
}
.list-block {
width: 100.5%;
margin-bottom: -1px;
li {
width: 25%;
height: 50px;
line-height: 50px;
border: 1px solid #dfdfdf;
margin-left: -1px;
margin-top: -1px;
text-align: center;
float: left;
box-sizing: border-box;
}
a {
max-width: 90%;
line-height: 1.2;
color: #666;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
vertical-align: text-bottom;
}
}
.hot-brands {
width: 101%;
margin-bottom: 70px;
> a {
width: 116px;
height: 70px;
display: block;
padding: 10px 8px;
float: left;
box-sizing: border-box;
border: 1px solid #dfdfdf;
margin-left: -1px;
margin-top: -1px;
}
img {
width: 100%;
height: 100%;
display: block;
}
}
}