-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimated-input.css
More file actions
60 lines (49 loc) · 796 Bytes
/
animated-input.css
File metadata and controls
60 lines (49 loc) · 796 Bytes
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
.animation-char {
display: inline-block;
animation: raise 1s 0s linear;
}
.animation-smiley {
display: inline-block;
animation: raise 1s 0s linear, spin 5s 0s linear infinite;
transform-origin: 40% 45%;
}
.animation-heart {
display: inline-block;
animation: raise 1s 0s linear, heartbeat 1s 0s linear infinite;
}
@keyframes raise {
from {
transform: scale(0.3);
opacity: 0.2;
}
to {
transform: scale(1);
opacity: 1;
}
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes heartbeat {
from {
transform: scale(1);
}
25% {
transform: scale(1.25);
}
26% {
transform: scale(1);
}
50% {
transform: scale(1.25);
}
51%,
to {
transform: scale(1);
}
}