-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathanimation.css
More file actions
114 lines (97 loc) · 1.91 KB
/
Copy pathanimation.css
File metadata and controls
114 lines (97 loc) · 1.91 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
@keyframes treeScale {
50% {
transform: scale(1.1);
filter: drop-shadow(0 0 100px #8BC34A);
}
}
@keyframes bottomIn {
from {
transform: translateY(200px);
}
to {
transform: translateY(0);
opacity: 1;
}
}
.main-text, .section-title, .crd-1, #footer .social {
animation: 1s bottomIn ease-out forwards;
animation-delay: 0.2s;
opacity: 0;
}
.sub-text, .p1, .crd-2, #contact p, .copyright {
animation: 1.2s bottomIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}
.in-1 {
animation: 1.1s bottomIn ease-out forwards;
animation-delay: 0.3s;
opacity: 0;
}
.in-2 {
animation: 1.3s bottomIn ease-out forwards;
animation-delay: 0.5s;
opacity: 0;
}
.hero-cta, .p2, .crd-3, textarea {
animation: 1.6s bottomIn ease-out forwards;
animation-delay: 0.6s;
opacity: 0;
}
.social, .section-btn, .crd-4, form button {
animation: 1.8s bottomIn ease-out forwards;
animation-delay: 0.6s;
opacity: 0;
}
@keyframes topIn {
from {
transform: translateY(-200px);
}
to {
transform: translateY(0);
opacity: 1;
}
}
@keyframes rightIn {
from {
transform: translateX(200px);
}
to {
transform: translateX(0);
opacity: 1;
}
}
@keyframes leftIn {
from {
transform: translateX(-200px);
}
to {
transform: translateX(0);
opacity: 1;
}
}
.head-logo {
animation: 1.2s leftIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}
#contact .right {
animation: 1.6s leftIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}
nav {
animation: 1.2s topIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}
.head-cta {
animation: 1.2s rightIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}
.right {
animation: 1.6s rightIn ease-out forwards;
animation-delay: 0.4s;
opacity: 0;
}