forked from darrylferdinands/text_animation.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
160 lines (146 loc) · 3.21 KB
/
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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* ----------------------------------------------
* Generated by Animista on 2018-6-12 11:22:34
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
.container {
position: relative;
text-align: center;
color: black;
}
@keyframes tracking-in-contract-bck-top {
0% {
letter-spacing:1em;
transform:translateZ(400px) translateY(300px);
opacity:0
}
40% {
opacity:.6
}
100% {
transform:translateZ(0) translateY(0);
opacity:1
}
}
.tracking-in-contract-bck-top {
animation:tracking-in-contract-bck-top 1s cubic-bezier(.215,.61,.355,1.000) both;
text-align: center;
font-size: 60px;
color: pink;
position: absolute;
top: 40%;
left: 40%;
transform: translate(-50%, -50%);
}
.focus-in-contract-bck {
text-align: center;
font-size: 60px;
animation:focus-in-contract-bck 1s cubic-bezier(.25,.46,.45,.94) both
}
@keyframes focus-in-contract-bck {
0% {
letter-spacing:1em;
transform:translateZ(300px);
filter:blur(12px);
opacity:0
}
100% {
transform:translateZ(12px);
filter:blur(0);
opacity:1
}
}
.text-shadow-pop-tl{
animation:text-shadow-pop-tl 1.2s both;
text-align: center;
font-size: 40px;
color: white
}
@keyframes text-shadow-pop-tl {
0% {
text-shadow:0 0 #555,0 0 #555,0 0 #555,0 0 #555,0 0 #555,0 0 #555,0 0 #555,0 0 #555;
transform:translateX(0) translateY(0)
}
100% {
text-shadow:-1px -1px #555,-2px -2px #555,-3px -3px #555,-4px -4px #555,-5px -5px #555,-6px -6px #555,-7px -7px #555,-8px -8px #555;
transform:translateX(8px) translateY(8px)
}
}
.shake-top {
animation:shake-top .8s cubic-bezier(.455,.03,.515,.955) both;
text-align: center;
font-size: 30px
}
.jello-diagonal-2 {
animation:jello-diagonal-2 1.8s ease-in-out both;
text-align: center;
font-size: 40px;
}
.kenburns-bottom-right {
animation:kenburns-bottom-right 5s ease-out both
}
/* ----------------------------------------------
* Generated by Animista on 2018-6-12 12:19:6
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
@keyframes kenburns-bottom-right {
0% {
transform:scale(1) translate(0,0);
transform-origin:84% 84%
}
100% {
transform:scale(1.25) translate(20px,15px);
transform-origin:right bottom
}
}
/* ----------------------------------------------
* Generated by Animista on 2018-6-12 12:12:23
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
@keyframes jello-diagonal-2 {
0% {
transform:skew(0deg 0deg)
}
30% {
transform:skew(-25deg -25deg)
}
40% {
transform:skew(15deg,15deg)
}
50% {
transform:skew(-15deg,-15deg)
}
65% {
transform:skew(5deg,5deg)
}
75% {
transform:skew(-5deg,-5deg)
}
100% {
transform:skew(0deg 0deg)
}
}
/* ----------------------------------------------
* Generated by Animista on 2018-6-12 12:8:12
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
@keyframes shake-top {
0%,100% {
transform:rotate(0deg);
transform-origin:50% 0
}
10% {
transform:rotate(2deg)
}
20%,40%,60% {
transform:rotate(-4deg)
}
30%,50%,70% {
transform:rotate(4deg)
}
80% {
transform:rotate(-2deg)
}
90% {
transform:rotate(2deg)
}
}