Question · HTML and CSS course · Module 6: CSS Animations

Animation vs Transition

What is the difference between animation and transition in CSS?

Answer options

  • transition requires a trigger (e.g., :hover), animation runs automatically
  • animation is faster than transition
  • transition cannot animate colors
  • animation only works in Chrome

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