-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (74 loc) · 1.06 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
70
71
72
73
74
body{
background: #000;
}
.container{
width: 80%;
height: 600px;
margin: 0 auto;
position: relative;
}
.carousel-container{
width: 100%;
height: 600px;
position: relative;
overflow: hidden;
}
.carousel{
padding: 0;
margin: 0;
list-style: none;
transition: 300ms transform ease-in;
}
.slide{
padding: 0;
margin: 0;
position: absolute;
width: 100%;
height: 100%;
}
.slide img{
width: 100%;
height: 600px;
object-fit: cover;
}
.btn{
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
cursor: pointer;
}
.btn img{
width: 20px;
height: 20px;
}
.left-btn{
left: -35px;
}
.right-btn{
right: -35px;
}
.nav{
width: 100%;
height: 30px;
position: absolute;
top: 600px;
display: flex;
justify-content: center;
}
.nav .dot{
background: rgba(255, 255, 255, 0.3);
border: none;
width: 15px;
height: 15px;
border-radius: 50%;
margin: 8px 10px;
cursor: pointer;
}
.dot.active{
background: rgba(255, 255, 255, 1);
}
.hide{
display: none;
}