-2

Is there a way to do something like here the moving ingredients of pizza in jquery for example or somehow?

4

1 回答 1

1

您应该清楚地解释您的问题(-1)。虽然你可以做这样的事情:

#tomato{ position: absolute; top: 100px; left: 100px;}
$("#tomato").animate({ left: "+=20" }, 5000);

您也可以使用 CSS3: https ://developer.mozilla.org/en-US/docs/CSS/transform http://jsfiddle.net/nSa9s/2/

于 2013-02-12T12:31:46.040 回答