Why is this code not working as expected? I have noticed that it only functions correctly on Chrome when I remove all vendors except for webkit. Interestingly, I have tried a similar example using the 'transform' property with the same method and it worked perfectly. Thank you for your help.
function applyTransition(handle, property, duration, easing){
handle.css({
'-webkit-transition': '-webkit-' + property + ' ' + duration + 'ms ' + easing + '',
'-moz-transition': '-moz-' + property + ' ' + duration + 'ms ' + easing + '',
'-ms-transition': '-ms-' + property + ' ' + duration + 'ms ' + easing + '',
'-o-transition': '-o-' + property + ' ' + duration + 'ms ' + easing + '',
'transition': property + ' ' + duration + 'ms ' + easing + ''
});
}