Do I have to also include vendor prefixes for transform
? Or is it handled automatically? If I have to include vendor prefixes for the animation how do I do it?
This is my current code:
document.querySelector('.ball').animate({
transform: [`translate3d(0px, ${0}px, 0px)`, `translate3d(0px, ${500}px, 0px)`],
}, {
duration: 2500,
fill: 'forwards',
easing: 'linear',
});