Put in order · HTML and CSS course · Module 6: CSS Animations

Debugging CSS Animations

Arrange the steps for debugging a non-working CSS animation:

Items to put in order

  • Check if @keyframes is defined
  • Inspect the animation in DevTools
  • Check if the element is visible (display/visibility)
  • Make sure animation-duration > 0
  • Verify that animation-name matches the @keyframes name

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