blob: cfe4071304fd07439743c33132783b055771e22c (
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
|
<!DOCTYPE html>
<html>
<style>
html {
/* Suppress scrollbars to avoid periodical unthrottling for transform */
/* animations on the compositor. */
overflow: hidden;
}
body {
margin: 0px;
padding: 0px;
}
#target {
position: absolute;
left:100px;
top:100px;
scale:1.9;
}
#rotate {
transform: rotate(180deg);
transform-origin: 50% 50%;
}
</style>
<body>
<div id="target">
<div id="rotate">
<svg width="100" height="100">
<g id="g">
<circle cx="100" cy="100" r="40" style="fill: rgb(200, 20, 20);"></circle>
</g>
</svg>
</div>
</div>
</body>
</html>
|