_hot-brands.scss
1.35 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
.hot-brands.girls {
background: transparent;
}
.brands-swiper {
background: #fff;
width: 100%;
height: 140rem / $pxConvertRem;
overflow: hidden;
.brands-list {
position: relative;
padding-bottom: 29rem / $pxConvertRem;
border-bottom: 1px solid #e0e0e0;
li {
float: left;
padding-left: 5%;
width: 21.875%;
height: 140rem / $pxConvertRem;
a {
position: relative;
display: block;
width: 100%;
height: 100%;
}
img {
display: block;
width: 100%;
height: 100%;
}
.brands-title {
position: absolute;
left: 8rem / $pxConvertRem;
right: 8rem / $pxConvertRem;
bottom: 8rem / $pxConvertRem;
height: 28rem / $pxConvertRem;
line-height: 28rem / $pxConvertRem;
text-align: center;
font-size: 18rem / $pxConvertRem;
color: #444;
background: rgba(255, 255, 255, 0.5);
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}