-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathimageSlider.css
49 lines (44 loc) · 847 Bytes
/
imageSlider.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
width:100%;
}
.slideContainer {
width: 100%;
height: fit-content;
display:flex;
align-items: center;
justify-content: center;
background: black;
border-radius: 0px;
overflow: hidden;
transition: border-radius 0.1s ease;
margin-bottom: 40px;
}
.slideContainer:hover {
border-radius: 30px;
}
.swiper {
width: 100%;
height: fit-content;
padding: 0;
}
.swiper-slide img{
width: 100%;
}
.swiper .swiper-button-prev, .swiper .swiper-button-next {
color: #fff;
opacity: 0.5;
transition: opacity 0.3s ease;
width: 10rem;
}
.swiper .swiper-button-prev:hover, .swiper .swiper-button-next:hover {
opacity: 1;
}
.swiper .swiper-pagination-bullet-active {
background: #fff;
margin: 1rem;
}