DEV Community

Discussion on: Animate website content with JavaScript and CSS

Collapse
 
jamesthomson profile image
James Thomson

It might be good to mention performance implications depending on the css property you intend to animate. You've used transform, which is exactly what should be done, but didn't go into any explanation about why you should do so, which is a critical piece of knowledge anyone animating on the web needs to understand in order to create smooth, performant animations.

Collapse
 
olawanle_joel profile image
Joel Olawanle • Edited

Thanks for pointing this out. I have edited the article and also included a link to read more about the transform property in CSS.

Collapse
 
jamesthomson profile image
James Thomson

This is more so what I was getting at: html5rocks.com/en/tutorials/speed/...

Thread Thread
 
olawanle_joel profile image
Joel Olawanle

Thanks for this!