Question · Next.js course · Module 3: Styling and Visual Optimization

Performant CSS animation

Which CSS properties are the most performant to animate (do not trigger reflow), as shown in the lesson?

Answer options

  • width and height
  • margin and padding
  • transform and opacity
  • top and left

You can check the correct answer by solving this task in the CodeWorlds game.