<!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="right: -400px; bottom: -400px;" >position relative</span> text</div> <script> animate({bottom: 10, right: 20}, 100); </script> </body> </html>