/
style.css
53 lines (53 loc) · 1.06 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
#slider-container{
width: 800px;
height: 500px;
margin: 30px auto;
position: relative;
overflow: hidden;
box-shadow: 0 0 6px 3px #999;
}
#img-container{
width: 100%;
height: 100%;
/* position: relative; */
}
#img-container img{
width: 100%;
height: 100%;
transition: opacity 0.5s;
/* position: absolute; */
}
#prev{
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
#next{
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.btn-appearance{
width: 80px;
height: 60px;
background-color: white;
display: flex;
justify-content: center;
align-items: center;
font-weight: 600;
font-size: 18px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.btn-appearance:hover{
background-color: purple;
color:white;
transition: all 0.2s ease-in-out;
cursor: pointer;
}