-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (71 loc) · 1.17 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
body{
background-color: white;
height: 100%;
width: 100%
}
#container {
width: 400px;
height: 400px;
position: relative;
overflow: hidden;
margin: auto;
}
.inner {
width: 100%;
height: 100%;
position: absolute;
left: 0;
top: 0;
transform: translateX(0%);
transition: transform 300ms ease;
}
.red{
background-color: red;
}
.black{
background-color: black;
}
.yellow{
background-color: yellow;
}
.blue{
background-color: blue;
}
#menuContainer {
position: absolute;
color: white;
bottom: 0;
z-index: 10;
margin:0;
padding: 0;
left: 50%;
transform: translateX(-50%);
}
.dot{
display: inline-block;
text-align: center;
padding-right: 10px;
font-size: 35px;
}
.dot:hover{
cursor: pointer;
}
.active{
font-weight: bold;
color: lightgreen;
}
#buttonBefore, #buttonAfter{
position: absolute;
color: white;
top: 50%;
transform: translateY(-50%);
z-index: 10;
background: transparent;
border: 0;
font-size: 35px;
}
#buttonBefore {left: 0;}
#buttonAfter {right: 0;}
#buttonBefore:hover, #buttonAfter:hover{
color: lightgreen;
}