blob: fda02db187e6bc34488b2629dbd3e6f1a2385eee (
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
|
<!DOCTYPE html>
<html>
<head>
<title>Animating the "rotate" property on an SVG element</title>
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#individual-transforms">
<style>
svg {
width: 400px;
height: 400px;
}
rect {
width: 100px;
height: 100px;
transform-origin: 100px 100px;
rotate: 180deg;
}
</style>
</head>
<body>
<svg><rect></rect></svg>
</body>
</html>
|