-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (43 loc) · 782 Bytes
/
style.css
File metadata and controls
45 lines (43 loc) · 782 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
45
.container{
position: relative;
max-width: 600px;
margin: auto;
overflow: hidden;
}
.carou_image{
display : flex;
transition: transform 0.4s ease;
}
.carou_image img{
max-width: 100%;
display: none;
flex-shrink: 0;
}
.carou_image img.active{
display: block;
}
button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.7);
border: none;
cursor: pointer;
padding: 10px;
font-size: 18px;
}
.prev {
left: 10px;
}
.next {
right: 10px;
}
#timer {
position: absolute;
bottom: 10px;
left: 10px;
background-color: rgba(0, 0, 0, 0.5);
color: white;
padding: 5px;
border-radius: 5px;
}