Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="animate.js" type="text/javascript"></script>
</head>
<body>
<div id="container"
>surrounding <span id="rel"
style="left: 0; top: 0;"
>position&#10;relative</span> text</div>
<script>
animate({top: 10, left: 20}, 100);
</script>
</body>
</html>