forked from deivthings/vue-sequential-entrance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue-sequential-entrance.css
65 lines (56 loc) · 985 Bytes
/
vue-sequential-entrance.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
.entranceFromTop {
animation-duration: 2s;
animation-name: entranceFromTop;
}
@keyframes entranceFromTop {
from {
opacity: 0;
transform: translateY(-80px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.entranceFromBottom {
animation-duration: 2s;
animation-name: entranceFromBottom;
}
@keyframes entranceFromBottom {
from {
opacity: 0;
transform: translateY(80px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.entranceFromLeft {
animation-name: entranceFromLeft;
animation-duration: 1s;
}
@keyframes entranceFromLeft {
from {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.entranceFromRight {
animation-name: entranceFromRight;
animation-duration: 1s;
}
@keyframes entranceFromRight {
from {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}