-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-animations.css
56 lines (44 loc) · 883 Bytes
/
main-animations.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
/*
collection of animations
*/
/* fade in from initial load */
.fade-in-0 {
animation: fade-in 2s;
}
.fade-in-1 {
animation: fade-in 1s;
animation-delay: 0.5s;
animation-fill-mode: forwards;
}
.fade-in-2 {
animation: fade-in 1s;
animation-delay: 1s;
animation-fill-mode: forwards;
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
/* drop down from the top */
.drop-down-0 {
animation: drop-down-0 1s ease-in-out;
animation-fill-mode: forwards;
}
@keyframes drop-down-0 {
from { top: -50px; }
to { top: 0; }
}
.drop-up-0 {
animation: drop-up-0 1s ease-in-out;
}
@keyframes drop-up-0 {
from { bottom: -50px; }
to { bottom: 0; }
}
.fade-in-special {
animation: fade-in-special 1s;
}
@keyframes fade-in-special {
from { top: 0%; opacity: 0; }
to { top: 20%; opacity: 1; }
}