Skip to main content

Bug Tracker

Side navigation

Ticket #7109: animate.html

File animate.html, 0.4 KB (added by kellyfelkins, October 01, 2010 11:04PM UTC)

animates a div from 30% to 1% width. Has initial bump on webkit

<!DOCTYPE html>
div { 
border:1px solid green;
  <script src=""></script>
  <button id="go">&raquo; Run</button>

<div id="block">Hello!</div>

/* Using multiple unit types within one animation. */

  $("#block").animate({width: "1%"});


Download in other formats:

Original Format