-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
57 lines (48 loc) · 826 Bytes
/
index.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
.carousel {
display: flex;
justify-content: center;
}
.carousel__container {
display: block;
margin: auto;
}
.carousel__slide {
display: none;
height: 215px;
}
.carousel__list {
margin: 0;
padding: 0;
box-shadow: 0 0 2.5px rgba(0, 0, 0, 0.35);
}
.carousel__img {
width: 475px;
height: 215px;
}
.carousel__button {
cursor: pointer;
position: relative;
margin: 0;
padding: 0;
width: 38px;
height: 38px;
border: 0;
border-radius: 3px 3px 3px 3px;
user-select: none;
-webkit-user-select: none;
bottom: 48px;
background-color: rgba(58, 58, 58, 255);
}
.carousel__button_prev {
left: 10px;
}
.carousel__button_next {
left: 385px;
}
.carousel__button_prev:hover,
.carousel__button_next:hover {
background-color: rgba(0, 0, 0, 0.4);
}
.carousel__pointer {
margin: auto;
}