_shop-recommand.css
1.3 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
.shop-recom {
&-swiper-container {
position: relative;
width: 100%;
height: 407px;
.top {
float: left;
height: 208px;
width: 100%;
}
.bottom {
float: left;
height: 146px;
width: 50%;
}
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.recom-shop {
display: inline-block;
height: 354px;
width: 358px;
margin-top: 26px;
margin-right: 26px;
border-radius: 5px;
}
.recom-active {
height: 407px;
width: 412px;
margin-top: 0;
transition: all 0.3s ;
.top {
height: 239px;
width: 100%;
}
.bottom {
height: 168px;
width: 50%;
}
}
}