-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.less
65 lines (56 loc) · 862 Bytes
/
style.less
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#__nuxt {
height: 100%;
}
html,
body {
position: relative;
height: 100%;
}
body {
background: #eee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 14px;
color: #000;
margin: 0;
padding: 0;
}
.nuxt-swiper-wrapper{
height: 400px;
margin: 20px auto;
// width: 1448px;
}
.swiper {
// width: 100%;
height: 100%;
}
.swiper-wrapper{
margin: 0 auto;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
margin: 0 12px;
/* Center slide text vertically */
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.swiper-slide {
width: 220px;
transition: all 0.5s linear;
}
.swiper-slide-active {
width: 752px;
}