Sometimes you need to animate some element on your website, but using the wrong property can cause performance issues.
left property is a performance killer, because it forces the browser to repaint the layout with each pixel moved.
A better solution would be to use the CSS
transform property. It won’t affect performance, and everything will run smoothly. A simple choice of property can signicantly improve performance!