blob: bd4974e85e142b64f81e4a56f6d4a2e5fe276314 (
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
|
<!DOCTYPE html>
<html>
<style>
div {
position: absolute;
top: 0;
left: 0;
}
#pt {
scale: 12;
}
#pp {
/*animation: flyR 1s infinite;*/
animation-iteration-count: infinite;
animation-duration: 1s;
animation-name: flyR;
animation-timing-function: steps(2, end)
}
@keyframes flyR {
from {
scale: 0.51;
}
1% {
scale: 12;
}
50% {
scale: 12;
}
to {
scale: 12;
}
}
</style>
</head>
<body>
<div>
<svg width="600px" height="600px">
<text id="pp" x="10" y="16" font-size="12">some text</text>
<text id="pt" x="10" y="16" font-size="12">some text</text>
<rect fill="#DAD6CC" width="600" height="100"></rect>
<rect fill="#DAD6CC" width="120" height="400"></rect>
</svg>
</div>
</body></html>
|