blob: 7671e09e3ccf6f74a77daa29f0c727df029f2983 (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Yay! Keyframes!</title>
<style>
div {
animation: wow 100s forwards;
}
@keyframes wow {
0% {
width: 100px;
height: 100px;
border-radius: 0px;
background: #f06;
}
10% {
border-radius: 2px;
}
20% {
transform: rotate(13deg);
}
30% {
background: gold;
}
40% {
filter: blur(40px);
}
50% {
transform: rotate(720deg) translateX(300px) skew(-13deg);
}
60% {
width: 200px;
height: 200px;
}
70% {
border-radius: 10px;
}
80% {
background: #333;
}
90% {
border-radius: 50%;
}
100% {
width: 500px;
height: 500px;
}
}
</style>
</head>
<body>
<div></div>
</body>
</html>
|