The problem here is that by adding that class within the layout div, we made the browser recalculate styles one more time
Smooth as Butter: Achieving 60 FPS Animations with CSS3
José Rosário

Nice article, while I have a question at here, what does this “recalculate styles one more time” mean? Didn’t the browser only recalculate the app-menu style but also recalculate some other element style? Looking forward for your explanation.

Like what you read? Give haocong a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.