-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
60 lines (56 loc) · 1.37 KB
/
Copy pathtest.html
File metadata and controls
60 lines (56 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
@keyframes large {
0% {
transform: scale(1, 1);
}
8%{
transform: scale(1.1, 1.1);
}
16%{
transform: scale(1, 1);
}
24% {
transform: scale(1.1, 1.1);
}
30% {
transform: scale(1, 1);
transform: rotate(0deg) translate(0px, 0px) rotate(0deg);
}
/*60% {*/
/*transform: rotate(0deg) translate(10px, 50px) rotate(0deg);*/
/*}*/
100% {
transform: rotate(0deg) translate(0px, 100px) rotate(0deg);
}
}
@keyframes rot {
from {
transform: rotate(0deg)
translate(0px, 0px)
rotate(0deg);
}
to {
transform: rotate(0deg)
translate(0px, 100px)
rotate(0deg);
}
}
.smile {
width: 40px;
height: 40px;
position: absolute;
top: 200px;
font-size: 100px;
animation: large 1s infinite ease;
}
</style>
</head>
<body>
<div class="smile">☺</div>
</body>
</html>