I\'m looking for the webkitTransition object reference here
function spawnAnimation(what){ //sets the moving element var moveingEl = document.getEl
Use style.setProperty.
moveingEl.style.setProperty("-webkit-transition", "left 5s linear"); moveingEl.style.setProperty("left", "200px");
http://jsfiddle.net/7b4VZ/3/