Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 1b41cc5725
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (17 sloc) 0.676 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>SVG Animation of elements transformed using -webkit-transform</title>
</head>
<body>
  <h1>SVG Animation of SVG element rotated using '-webkit-transform'</h1>

  <p>The rotated rect should from 0,0 to 100,0 over 3 seconds.</p>

  <svg xmlns='http://www.w3.org/2000/svg'>
    <rect id="target" width='100' height='100' stroke="blue" fill="none" style="-webkit-transform: rotate(45deg)">
      <animateMotion to='100,0' dur='3s' />
    </rect>
  </svg>
</body>
</html>
Something went wrong with that request. Please try again.