-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
44 lines (38 loc) · 613 Bytes
/
style.css
File metadata and controls
44 lines (38 loc) · 613 Bytes
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
body {
margin: 0;
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
background-color: wheat;
}
.slider-container {
position: relative;
width: 500px;
overflow: hidden;
height: 300px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.image-container {
display: flex;
transition: transform 0.4s ease-in-out;
}
.btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
color: white;
font-size: 20px;
opacity: 0.5;
cursor: pointer;
}
.btn.prev {
left: 10px;
}
.btn.next {
right: 10px;
}
.btn:hover {
opacity: 1;
}