+ 4
Moving shapes
how can i move any shape in my code when i get this shape from internet( as car )......
3 Respostas
+ 2
It depends of what type of shape and of html context of your shape... but basically, you can set the 'position' property to one of the "positionned mode" available, and update frequently its 'left' and 'op' ones, using JS and/or Css animations/transitions features... You can also play with 'sprite animation' using JS and features of Css 'background' and 'background-image', or look at the SVG animation capabilities ;) ... at least :P
0
Learn jQuery for that