-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
96 lines (84 loc) · 1.28 KB
/
styles.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
html {
overflow: hidden;
background: black;
}
.wrapper {
height: 100vh;
display: grid;
place-items: center;
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.carousel-container {
width: 350px;
display: flex;
justify-content: space-evenly;
align-items: center;
position: relative;
}
.carousel-container img {
width: 350px;
height: 350px;
object-fit: cover;
}
.brdr-rad-10 {
border-radius: 10px;
}
.no-show {
display: none;
}
#prevBtn {
transform: translateX(-500%);
}
.dotsContainer {
position: absolute;
display: flex;
justify-content: space-evenly;
flex-direction: row;
align-items: center;
width: 100%;
bottom: 0%;
transform: translateY(300%);
}
.dot {
display: block;
width: 10px;
height: 10px;
border-radius: 50%;
opacity: 0.04;
background: white;
}
.active {
opacity: 1;
animation: anim-opacity 2.5s infinite alternate;
}
#nextBtn {
transform: translateX(500%);
}
.btn {
position: absolute;
top: 50%;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
background: white;
font-size: 3em;
justify-content: center;
align-items: center;
transition: all 0.5s ease;
}
.btn:hover {
filter: invert(1);
}
@keyframes anim-opacity {
0% {
opacity: 0.04;
}
100% {
opacity: 1;
}
}