/catproject

a HTML5, CSS3 & JS animation event listener solution

Primary LanguageJavaScript

Cat Project

A solution in HTML5, CSS3, pure JS utilising flexbox to show a responsive solution for a mouse animation.

The task:

  • Create a cat on web page and animate it with the sprite sheet.
  • The cat will run away when the mouse gets closer to it.
  • Try to find a reasonable solution for devices that don't have a mouse. i.e. onclick event (check main js here).

Please contact for fixes, changes further instructions.