-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpages.css
More file actions
67 lines (58 loc) · 1.17 KB
/
pages.css
File metadata and controls
67 lines (58 loc) · 1.17 KB
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
@keyframes inRight {
from {
transform: translate3d(100%, 0, 0);
visibility: visible;
}
to { transform: translate3d(0, 0, 0); }
}
@keyframes inLeft {
from {
transform: translate3d(-100%, 0, 0);
visibility: visible;
}
to { transform: translate3d(0, 0, 0); }
}
@keyframes outRight {
from { transform: translate3d(0, 0, 0); }
to {
visibility: hidden;
transform: translate3d(100%, 0, 0);
}
}
@keyframes outLeft {
from { transform: translate3d(0, 0, 0); }
to {
visibility: hidden;
transform: translate3d(-100%, 0, 0);
}
}
/* SLIDE DEFINITIONS */
.inRight {
animation-duration: 1s;
animation-fill-mode: both;
animation-name: inRight;
}
.inLeft {
animation-duration: 1s;
animation-fill-mode: both;
animation-name: inLeft;
}
.outRight {
animation-duration: 1s;
animation-fill-mode: both;
animation-name: outRight;
}
.outLeft {
animation-duration: 1s;
animation-fill-mode: both;
animation-name: outLeft;
}
/* PAGE DEFINITIONS */
.page {
width: 100%;
position: absolute;
}
.pages {
position: relative;
overflow: hidden;
}