-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
63 lines (48 loc) · 800 Bytes
/
index.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
body {
overflow: hidden;
}
a {
text-decoration: underline;
cursor: pointer;
}
.page {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.page1 {
background: #A3FFBD;
}
.page2 {
background: #F84A97;
}
/* ANIMATIONS */
@-webkit-keyframes none {
0% { opacity: 1; }
100% { opacity: 1; }
}
@-webkit-keyframes overlay {
from { -webkit-transform: translate(0, 100%); }
to { -webkit-transform: translate(0, 0); }
}
/* none -> overlay */
/* old */
.none-overlay-leave {
-webkit-animation: none 300ms;
}
/* new */
.none-overlay-enter {
-webkit-animation: overlay 300ms;
z-index: 1;
}
/* overlay -> none */
/* old */
.overlay-none-leave {
-webkit-animation: overlay 300ms reverse;
}
/* new */
.overlay-none-enter {
-webkit-animation: none 300ms;
}