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

CSS Animations in Interfaces

Which CSS property is the most performant for animating elements (does not cause reflow)?

Answer options

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

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