-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
66 lines (56 loc) · 1.16 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
.carousel {
overflow: hidden;
position: relative;
}
.carousel .carousel_item,
.carousel .carousel_item--hidden {
display: none;
}
.carousel .carousel_item img {
width: 100%;
/* max-width: 1000px; */
height: 700px;
margin-top: 15px;
/* object-fit: cover; */
}
.carousel .carousel_item--visible {
display: block;
animation: fadeVisibility 0.5s;
}
.carousel .carousel_actions {
display: flex;
width: 100%;
justify-content: space-between;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.carousel .carousel_actions button {
border-radius: 50px;
border: 0;
font-weight: bold;
color: rgb(189, 11, 11);
background-color: rgb(99, 193, 196);
cursor: pointer;
width: 50px;
height: 50px;
}
.carousel .carousel_actions button:hover{
transform: scale(1.3);
animation: fadeVisibility 1.3s;
}
.carousel .carousel_actions button#carousel_button--prev {
margin-left: 20px;
}
.carousel .carousel_actions button#carousel_button--next {
margin-right: 20px;
}
@keyframes fadeVisibility {
0% {
opacity: 0;
}
100% {
opacity: 1;
transform: opacity linear;
}
}