-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
69 lines (69 loc) · 1.03 KB
/
style.css
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
.carousel{
position: relative;
height: 600px;
width: 80%;
margin: 0 auto;
}
.carousel_image{
width: 100%;
height: 100%;
object-fit: cover;
}
.carousel_track-container{
background: lightblue;
height: 100%;
position: relative;
overflow: hidden;
}
.carousel_track{
padding: 0;
margin: 0;
list-style: none;
position: relative;
height: 100%;
transition: transform 250ms ease-in;
}
.carousel_slide{
position: absolute;
top: 0;
left:0;
bottom: 0;
width: 100%;
}
.carousel_button{
position: absolute;
top:50%;
transform: translateY(-50%);
background: transparent;
border: 0;
cursor: pointer;
}
.carousel_button--left{
left: -40px;
}
.carousel_button--right{
right: -40px;
}
.carousel_button img{
width: 18px;
}
.carousel_nav{
display: flex;
justify-content: center;
padding: 10px 0;
}
.carousel_indicator{
border:0;
border-radius: 50%;
width: 15px;
height: 15px;
background: rgba(0,0,0,0.3);
margin: 0 10px;
cursor: pointer;
}
.carousel_indicator.current-slide{
background: rgba(0,0,0,0.75);
}
.is-hidden{
display: none;
}